DevExpress
-
[DX_WPF] Notification Balloon TipDevExpress/DX_WPF 2024. 5. 3. 09:40
App Start할 때 추가DevExpress.Data.ShellHelper.TryCreateShortcut("DSM", "DSM Notify Service"); Xaml 에 서비스 추가커스텀서비스 필요하면 데이타 템플릿 추가 Xaml 서비스 ViewModel로 가져오기 결과 값 받아서 처리. void ProcessNotificationResult(NotificationResult result) Ex. NotificationResult.Activated 노티 클릭했을 때 반환되는 값. https://docs.devexpress.com/WPF/18138/mvvm-framework/services/predefined-set/notificationservice NotificationServic..
-
[DX_WPF] InjectOrNavigate ParameterDevExpress/DX_WPF 2024. 4. 29. 10:34
Inject 할때 파라미터 전달 가능. 받는곳에서 OnNavigated 이벤트로 받아서 ViewModelBase.Parameter로 가져올 수 있음. https://docs.devexpress.com/WPF/118618/mvvm-framework/mif/module-manager Module Manager | WPF Controls | DevExpress DocumentationModuleManager provides API for integrating modules into an application and configuring navigation. ModuleManager is available via the static ModuleManager.DefaultManager property. ..
-
[DX_WPF] HamburgerMenuDevExpress/DX_WPF 2024. 4. 15. 15:43
사용 Nuget InstallDevExpress.Wpf.Controls https://nuget.devexpress.com/packages/DevExpress.Wpf.Controls/24.1.6 Log In www.devexpress.com Content에 넣어주고CompactOverlayStateThreshold="NaN" 하면필때 Layout 조정 적용 됨. StackPanel로도 가능 MVVM Support TemplateSelector 따로 빼서 ResourceDirectory에 넣기. https://docs.devexpress.com/WPF/119474/controls-and-libraries/windows-modern-ui/hamburger-menu/mvv..
-
[DX_WPF] DevExpress Default ThemeDevExpress/DX_WPF 2024. 3. 29. 15:40
DevExpress 기본 테마는 Office2019Colorful 고정 GetDefaultThemeName() 는 private이라 못 불러옴 public static void UpdateApplicationThemeName() { if (!CompatibilitySettings.UseLightweightThemes && ApplicationThemeHelper.UseLegacyDefaultTheme || ApplicationThemeHelper.IsWebApp || ApplicationThemeHelper.IsInDesignMode || !string.IsNullOrEmpty(ApplicationThemeHelper.ApplicationThemeName) && ApplicationThemeHelper...
-
[DX_WPF] DialogServiceDevExpress/DX_WPF 2024. 3. 27. 08:21
DevExpress View Select DataTemplate Example) DataTemplateSelector Class Resources 에 DataTemplateSelector 추가 x:key는 Resource에서만 추가 가능. DialogService 에 ViewTemplateSelector 연결.Window Sizefmf 내용(UserControl) View에 맞춤.View 에서 width, Height 설정. 해당(x:Name) DialogService Get https://docs.devexpress.com/WPF/17469/mvvm-framework/services/view-creation-mechanisms View Creation Mechanisms | WPF Con..
-
[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][별*] GetViewModel, ViewModelFactoryDevExpress/DX_WPF 2024. 3. 21. 08:54
MIF IModuleManager사용 시 Module 에서 ViewModelFactory통해 ViewModel 가져오기. # New ViewModel로 새로운 인스턴스로 실행. (등록되어 있는 Module이 아닌 새로운 객체) 확실치 않음.. GetModule로 module 가져온 뒤 ViewModelFactory는 Func 를 반환 하므로 ViewModelFactory.Invoke()로 Func 를 실행시킴으로써 object 값을 반환.object 를 얻고자 하는 ViewModel로 타입 변환. # Region에 등록된 Module의 ViewModel 가져 옴(View랑 바인딩 되어 있는 객체) Region 에서 ViewModel 가져오기
-