Add CheckBox to StackPanel : CheckBox « Windows Presentation Foundation « C# / C Sharp






Add CheckBox to StackPanel

Add CheckBox to StackPanel
    

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  HorizontalAlignment="Center" VerticalAlignment="Center">
    <StackPanel Background="#ECE9D8">
      <TextBlock Margin="3">Look for:</TextBlock>
      <ComboBox  Margin="3"/>
      <TextBlock Margin="3">Filtered by:</TextBlock>
      <ComboBox  Margin="3"/>
      <Button    Margin="3,5">Search</Button>
      <CheckBox  Margin="3">Search in titles only</CheckBox>
      <CheckBox  Margin="3">Match related words</CheckBox>
      <CheckBox  Margin="3">Search in previous results</CheckBox>
      <CheckBox  Margin="3">Highlight search hits (in topics)</CheckBox>
    </StackPanel>

</Window>

   
    
    
    
  








Related examples in the same category

1.Three-State CheckBoxThree-State CheckBox
2.A CheckBox with a skew transformationA CheckBox with a skew transformation
3.Customized CheckBoxCustomized CheckBox
4.CheckBox StyleCheckBox Style
5.CheckBox checked event listenerCheckBox checked event listener
6.Handles CheckBox Indeterminate events when a CheckBox changes to a indeterminate state.Handles CheckBox Indeterminate events when a CheckBox changes to a indeterminate state.
7.Handle CheckBox Unchecked eventsHandle CheckBox Unchecked events
8.Handle CheckBox checked events
9.Use Linq to get checked CheckBoxUse Linq to get checked CheckBox
10.Check the CheckBox based on key pressed statesCheck the CheckBox based on key pressed states
11.CheckBox ListCheckBox List