Mega Code Archive

 
Categories / C# / WPF
 

ComboBoxItem Content

<Window x:Class="SimpleStyles.Window1"   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   Title="SimpleStyles"   Background="#F8F8F8">   <ScrollViewer>     <WrapPanel>       <HeaderedItemsControl Header="ComboBox">         <StackPanel>           <ComboBox Margin="8">             <ComboBoxItem Content="First Normal Item" />             <ComboBoxItem Content="Second Normal Item" />             <ComboBoxItem Content="Third Normal Item" />             <ComboBoxItem Content="Fourth Normal Item" />             <ComboBoxItem Content="Fifth Normal Item" />           </ComboBox>           <ComboBox Margin="8" IsEditable="True" Text="Edit Me">             <ComboBoxItem Content="First Normal Item" />             <ComboBoxItem Content="Second Normal Item" />             <ComboBoxItem Content="Third Normal Item" />             <ComboBoxItem Content="Fourth Normal Item" />             <ComboBoxItem Content="Fifth Normal Item" />           </ComboBox>         </StackPanel>       </HeaderedItemsControl>         </WrapPanel>   </ScrollViewer> </Window>