File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 282282 <smtx : XamlDisplay Key =" buttons_26" Margin =" 5 0 0 0" >
283283 <Grid Width =" 124" >
284284 <!-- raised button with progress, useful to auto dismiss/accept something -->
285- <Button Command =" {Binding DismissComand }"
285+ <Button Command =" {Binding DismissCommand }"
286286 Style =" {StaticResource MaterialDesignRaisedButton}"
287287 HorizontalAlignment =" Left"
288288 materialDesign:ButtonProgressAssist.Value=" {Binding DismissButtonProgress}"
314314 <!-- floating action button with progress -->
315315 <TextBlock Margin =" 24 0 0 0" VerticalAlignment =" Center" >Click Me:</TextBlock >
316316 <Button Style =" {StaticResource MaterialDesignFloatingActionLightButton}" Margin =" 8 0 0 0"
317- Command =" {Binding SaveComand }"
317+ Command =" {Binding SaveCommand }"
318318 materialDesign:ButtonProgressAssist.IsIndicatorVisible=" {Binding IsSaving}"
319319 materialDesign:ButtonProgressAssist.Value=" {Binding SaveProgress}" >
320320 <!-- simple example of toggling/animating pack icon with a data trigger-->
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public ButtonsViewModel()
1818 var autoStartingActionCountdownStart = DateTime . Now ;
1919 var demoRestartCountdownComplete = DateTime . Now ;
2020 var dismissRequested = false ;
21- DismissComand = new AnotherCommandImplementation ( _ => dismissRequested = true ) ;
21+ DismissCommand = new AnotherCommandImplementation ( _ => dismissRequested = true ) ;
2222 ShowDismissButton = true ;
2323
2424 #region DISMISS button demo control
@@ -69,7 +69,7 @@ public ButtonsViewModel()
6969 OrClickMeCount = 0 ;
7070
7171 //just some demo code for the SAVE button
72- SaveComand = new AnotherCommandImplementation ( _ =>
72+ SaveCommand = new AnotherCommandImplementation ( _ =>
7373 {
7474 if ( IsSaveComplete == true )
7575 {
@@ -107,7 +107,7 @@ public ButtonsViewModel()
107107
108108 #region Dismiss button demo
109109
110- public ICommand DismissComand { get ; }
110+ public ICommand DismissCommand { get ; }
111111
112112 public bool ShowDismissButton
113113 {
@@ -149,7 +149,7 @@ public int OrClickMeCount
149149
150150 #region floating Save button demo
151151
152- public ICommand SaveComand { get ; }
152+ public ICommand SaveCommand { get ; }
153153
154154 private bool _isSaving ;
155155 public bool IsSaving
You can’t perform that action at this time.
0 commit comments