Skip to content

Styles

Name
Menu.Small
MenuBaseStyle

Attached Property

PropertiesDescription
AnimationModeChange Transition Animation Only Custom Version
IsEnabledAnimationEnable or Disable Transition Animation Only Custom Version
xml
     <Menu hc:MenuAttach.AnimationMode="Fade"/>
<!--OR-->
    <Menu hc:MenuAttach.IsEnabledAnimation="False"/>

MenuBaseStyle

The default style of the menu is not recommended. It should always be used by other styles in the manner of BasedOn.

NOTE

example:

    <Menu ItemsSource="{Binding Menus}">
        <Menu.ItemTemplate>
            <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                <TextBlock Text="{Binding Name}"></TextBlock>
            </HierarchicalDataTemplate>
        </Menu.ItemTemplate>
</Menu>

Menu.BaseStyle

Released under the MIT License.