Skip to content

Commit ff059b4

Browse files
committed
IsEnabled demo
1 parent 504be7b commit ff059b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MainDemo.Wpf/TextFields.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
x:Name="PhoneTextBox"
8080
materialDesign:TransitionAssist.DisableTransitions="True"
8181
Width="150"
82-
/>
82+
IsEnabled="{Binding ElementName=EnabledCheckBox, Path=IsChecked}" />
8383
</StackPanel>
8484
<StackPanel Orientation="Horizontal">
8585
<TextBlock VerticalAlignment="Center" Margin="0 0 8 0" >Fruit</TextBlock>

0 commit comments

Comments
 (0)