-
[Prism] Apply DevExpress Theme to Prism DialogC#/Prism 2023. 5. 18. 17:02
1.dx:ThemedWindow 깡통 윈도우 View 생성
https://dlsenfl.tistory.com/entry/WPF-TaskBar
2.Prism IDialogWindow 추가
3.Dialog 로 띄울 View 생성
4. 띄울 Dialog ViewModel에 Prism IDialogAware 추가
5.Module에서 Container에 Register
5-1. 또 다른 Dialog View 등록 예시
6. 띄우려는 DialogView , 띄울때 보낼 파라미터, Action, 띄울 윈도우 깡통
6-1.같은 깡통에 다른 다이얼로그 View 띄우기
7. Dialog View에서 깡통 윈도우의 스타일 지정
Ex) Title, Width, Height, ResizeMode, WindowStartupLocation, etc..
https://prismlibrary.com/docs/wpf/dialog-service.html
https://www.youtube.com/watch?v=mwvBGdJHym4
728x90'C# > Prism' 카테고리의 다른 글
[Prism] ActiveViews (0) 2023.11.01 [Prism] How to get a name of the active view in PRISM (1) 2023.10.30 [Prism] Ioc, Container, DI (0) 2023.02.23 [Prism] DirectoryModuleCatalog (0) 2023.02.21 [Prism] Register (0) 2023.02.07 댓글