Mega Code Archive

 
Categories / C# / WPF
 

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>