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 282
282
<smtx : XamlDisplay Key =" buttons_26" Margin =" 5 0 0 0" >
283
283
<Grid Width =" 124" >
284
284
<!-- raised button with progress, useful to auto dismiss/accept something -->
285
- <Button Command =" {Binding DismissComand }"
285
+ <Button Command =" {Binding DismissCommand }"
286
286
Style =" {StaticResource MaterialDesignRaisedButton}"
287
287
HorizontalAlignment =" Left"
288
288
materialDesign:ButtonProgressAssist.Value=" {Binding DismissButtonProgress}"
314
314
<!-- floating action button with progress -->
315
315
<TextBlock Margin =" 24 0 0 0" VerticalAlignment =" Center" >Click Me:</TextBlock >
316
316
<Button Style =" {StaticResource MaterialDesignFloatingActionLightButton}" Margin =" 8 0 0 0"
317
- Command =" {Binding SaveComand }"
317
+ Command =" {Binding SaveCommand }"
318
318
materialDesign:ButtonProgressAssist.IsIndicatorVisible=" {Binding IsSaving}"
319
319
materialDesign:ButtonProgressAssist.Value=" {Binding SaveProgress}" >
320
320
<!-- 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()
18
18
var autoStartingActionCountdownStart = DateTime . Now ;
19
19
var demoRestartCountdownComplete = DateTime . Now ;
20
20
var dismissRequested = false ;
21
- DismissComand = new AnotherCommandImplementation ( _ => dismissRequested = true ) ;
21
+ DismissCommand = new AnotherCommandImplementation ( _ => dismissRequested = true ) ;
22
22
ShowDismissButton = true ;
23
23
24
24
#region DISMISS button demo control
@@ -69,7 +69,7 @@ public ButtonsViewModel()
69
69
OrClickMeCount = 0 ;
70
70
71
71
//just some demo code for the SAVE button
72
- SaveComand = new AnotherCommandImplementation ( _ =>
72
+ SaveCommand = new AnotherCommandImplementation ( _ =>
73
73
{
74
74
if ( IsSaveComplete == true )
75
75
{
@@ -107,7 +107,7 @@ public ButtonsViewModel()
107
107
108
108
#region Dismiss button demo
109
109
110
- public ICommand DismissComand { get ; }
110
+ public ICommand DismissCommand { get ; }
111
111
112
112
public bool ShowDismissButton
113
113
{
@@ -149,7 +149,7 @@ public int OrClickMeCount
149
149
150
150
#region floating Save button demo
151
151
152
- public ICommand SaveComand { get ; }
152
+ public ICommand SaveCommand { get ; }
153
153
154
154
private bool _isSaving ;
155
155
public bool IsSaving
You can’t perform that action at this time.
0 commit comments