BooleanEditor.xaml 939 B

123456789101112131415161718192021
  1. <UserControl x:Class="MuchInfo.Chart.Infrastructure.Controls.BooleanEditor"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d">
  7. <Border BorderBrush="LightGray"
  8. BorderThickness="0"
  9. CornerRadius="4">
  10. <Grid x:Name="LayoutRoot">
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="auto" />
  13. </Grid.ColumnDefinitions>
  14. <CheckBox x:Name="chkItem"
  15. Margin="5,4,5,0"
  16. Checked="chkItem_Checked"
  17. ClickMode="Press"
  18. Unchecked="chkItem_Unchecked" />
  19. </Grid>
  20. </Border>
  21. </UserControl>