C# Class MaterialMenu.MenuButton

Interaction logic for MenuButton.xaml
Show file Open project: beto-rodriguez/MaterialMenu

Public Properties

Property Type Description
AnimationSpeedProperty System.Windows.DependencyProperty
ChildrenProperty System.Windows.DependencyProperty
HoverBackgroundProperty System.Windows.DependencyProperty
ImageProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
UiThemeProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
Close void
Expand void
MenuButtonBase_OnMouseEnter void
MenuButtonBase_OnMouseLeave void
Open void
Reduce void
UserControl_MouseDown void

Public Methods

Method Description
MenuButton ( ) : System
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnInitialized ( EventArgs e ) : void

Private Methods

Method Description
Close ( ) : void
Expand ( double units ) : void
MenuButtonBase_OnMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MenuButtonBase_OnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Open ( ) : void
Reduce ( double units ) : void
UserControl_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

MenuButton() public method

public MenuButton ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnInitialized() protected method

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
return void

Property Details

AnimationSpeedProperty public static property

public static DependencyProperty,System.Windows AnimationSpeedProperty
return System.Windows.DependencyProperty

ChildrenProperty public static property

public static DependencyProperty,System.Windows ChildrenProperty
return System.Windows.DependencyProperty

HoverBackgroundProperty public static property

public static DependencyProperty,System.Windows HoverBackgroundProperty
return System.Windows.DependencyProperty

ImageProperty public static property

public static DependencyProperty,System.Windows ImageProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty

UiThemeProperty public static property

public static DependencyProperty,System.Windows UiThemeProperty
return System.Windows.DependencyProperty