분류 전체보기
-
[WPF] control in viewModelC#/WPF 2024. 3. 21. 13:37
x:Name 지정해주고 Loaded 될 때 등등 이벤트에 바인딩해주고 구성요소를 x:Name을 주면 ViewModel 에서 contorl 가져다 쓸 수 있음. 코드 비하인드에서 요딴식으루 안써도 됨. DevExpress Service방식 GetService(key값) 으로 불러 올 수 있음. https://dlsenfl.tistory.com/entry/DXWPF-DevExpress-Service [DX_WPF] DevExpress Service DiagramSaveLoadService.cs DiagramMonitorView.xaml DiagramMonitorViewModel.cs ViewModelBase 상속해야 GetService 부를 수 있음. https://docs.devexpress.com/WPF..
-
[DX_WPF] DevExpress ServiceDevExpress/DX_WPF 2024. 3. 21. 13:24
DiagramSaveLoadService.cs DiagramMonitorView.xaml DiagramMonitorViewModel.cs ViewModelBase 상속해야 GetService 부를 수 있음. 인터페이스 타입만 불러올 수 있음. https://docs.devexpress.com/WPF/16920/mvvm-framework/services/create-a-custom-service Create a Custom Service | WPF Controls | DevExpress Documentation This topic describes how to create a custom service if predefined services do not suit your requirements. Note..
-
[DX_WPF] IDynamicModule 프로젝트 생성DevExpress/DX_WPF 2024. 3. 20. 08:19
WPF Class Library Project Properties Module Class 이름변경 Add Reference : Common project 인터페이스 추가 : IDynamicModule View & ViewModel 추가 네모 박스 Set Up Remove Selected Box Module Name 추가 Main Container에 등록하는 부분 Main Container에서 꺼내쓰는 부분Register to DevExpress ModuleManager DevExpress IModuleManager 는 Prism의 IRegionManager 역할을 함.Register, Inject, Navigat..
-
[C#] UnitTestC#/기초 2024. 3. 19. 08:04
NUnit vs. XUnit vs. MSTestWe now compare the C# unit testing frameworks from an attribute usage point of view along with a simple example, which demonstrates the code flow.Attributes in test frameworksIrrespective of the C# unit testing framework, attributes are used to describe class, methods, properties, etc. Attributes are meta-tags that provide additional information about the implementation..
-
[DX_WPF] DelegateCommand()DevExpress/DX_WPF 2024. 3. 14. 14:41
Prism DelegateCommand 와DevExpress DelegateCommand의 Parameter 사용의 차이가 조금 있음. Prism DelegateCommand 는 CanExcute로 프로퍼티를 지정할 수 있는데 DevExpress DelegateCommand 는 CanExcute 을 함수로만 지정 가능?!DevExpress DelegateCommand 에서 bool 값을 전달인자로 보낼 수 있는 부분은 useCommandManager 인데Command를 자동으로 업데이트 칠지 말지에 대한 부분. CanExcute의 bool 이 아님!! https://docs.devexpress.com/CoreLibraries/DevExpress.Mvvm.DelegateCommand.-ctor(S..
-