Skip to content

Commit

Permalink
del Button IsEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangSakura committed Jul 13, 2024
1 parent f80b0b6 commit e6a8837
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Ink Canvas/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1558,8 +1558,7 @@
Height="55"
Padding="0"
BorderThickness="0"
Click="SymbolIconUndo_Click"
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}">
Click="SymbolIconUndo_Click">
<Border x:Name="BoardUndo"
Width="60"
Height="55"
Expand Down Expand Up @@ -1598,8 +1597,7 @@
Height="55"
Padding="0"
BorderThickness="0"
Click="SymbolIconRedo_Click"
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}">
Click="SymbolIconRedo_Click">
<Border x:Name="BoardRedo"
Width="60"
Height="55"
Expand Down Expand Up @@ -5084,8 +5082,10 @@
Height="32"
Padding="0"
BorderThickness="0"
Click="SymbolIconUndo_Click"
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}">
Click="SymbolIconUndo_Click">
<!--
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}"
-->
<ikw:SimpleStackPanel HorizontalAlignment="Center" Background="Transparent" Orientation="Vertical">
<ui:FontIcon x:Name="Icon_Undo"
Width="30"
Expand All @@ -5110,8 +5110,10 @@
Height="32"
Padding="0"
BorderThickness="0"
Click="SymbolIconRedo_Click"
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}">
Click="SymbolIconRedo_Click">
<!--
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}"
-->
<ikw:SimpleStackPanel HorizontalAlignment="Center" Background="Transparent" Orientation="Vertical">
<ui:FontIcon x:Name="Icon_Redo"
Width="30"
Expand Down

0 comments on commit e6a8837

Please sign in to comment.