Tuesday, December 23, 2014

WPF XAML Horizontal Menu


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
     <Menu Height="26" Name="topMenu" VerticalAlignment="Top" Margin="0,0,0,-5" FontFamily="arial">
                <MenuItem Header="File" Name="FileMenu">
                    <MenuItem Header="Shop Setting"  Name="mnuShopSetting" Background="Transparent" Click="mnuShopSetting_Click"  />
                    <Separator />
                    <MenuItem Header="Exit" Name="mnuExit" Click="mnuExit_Click"/>
                </MenuItem>

                <MenuItem Header="Supplier" Name="SupplierMenu">
                    <MenuItem x:Name="mnuNewSupplier" Header="New Supplier" Click="mnuNewSupplier_Click"  />
                    <Separator />
                    <MenuItem Header="Supplier Status Report"   />
                </MenuItem>
                </MenuItem>
            </Menu>

No comments:

Post a Comment