|
<Window x:Class="Behavior.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:local="clr-namespace:Behavior"
Title="MainWindow"
Width="525"
Height="350">
<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
<CheckBox x:Name="Checkbox"
Content="Behaviour"
IsThreeState="True">
<i:Interaction.Behaviors>
<local:CheckBoxBehavior />
</i:Interaction.Behaviors>
</CheckBox>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.