Skip to content

Commit e6ccae3

Browse files
committed
Fixing spelling mistake in demo app
1 parent 31b4fb3 commit e6ccae3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

MainDemo.Wpf/Buttons.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
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}"
@@ -314,7 +314,7 @@
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-->

MainDemo.Wpf/ButtonsViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)