Mega Code Archive

 
Categories / C# / WPF
 

Default Button

<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="Button">         <Button Margin="8" IsDefault="True">Default</Button>         <Button Margin="8">Normal</Button>       </HeaderedItemsControl>     </WrapPanel>   </ScrollViewer> </Window>