SampleSmart 1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
WindowSub.xaml.ViewModel.cs
이 파일의 문서화 페이지로 가기
1using Dreamine.MVVM.Attributes;
2using Dreamine.MVVM.Core;
3using Dreamine.MVVM.ViewModels;
5
7{
16 public partial class WindowSubViewModel : ViewModelBase
17 {
26 [DreamineModel]
28
37 [DreamineProperty]
38 private string _readme = string.Empty;
39
48 [DreamineEvent]
50
59 [DreamineCommand("Event.ReadmeClick", BindTo = nameof(Readme))]
60 private partial void ReadmeClick();
61
62
72 {
73 _model = null!;
74 _event = null!;
75
76 _ = _model;
77 _ = _event;
78
79 Readme = Model.Readme;
80 }
81 }
82}