C# Class Symphonary.MenuItemExtensions

Inheritance: System.Windows.DependencyObject
ファイルを表示 Open project: tfreedman/Symphonary

Public Properties

Property Type Description
ElementToGroupNames String>.Dictionary
GroupNameProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetGroupName ( System.Windows.Controls.MenuItem element ) : String
SetGroupName ( System.Windows.Controls.MenuItem element, String value ) : void

Private Methods

Method Description
MenuItemChecked ( object sender, RoutedEventArgs e ) : void
OnGroupNameChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveCheckboxFromGrouping ( System.Windows.Controls.MenuItem checkBox ) : void

Method Details

GetGroupName() public static method

public static GetGroupName ( System.Windows.Controls.MenuItem element ) : String
element System.Windows.Controls.MenuItem
return String

SetGroupName() public static method

public static SetGroupName ( System.Windows.Controls.MenuItem element, String value ) : void
element System.Windows.Controls.MenuItem
value String
return void

Property Details

ElementToGroupNames public_oe static_oe property

public static Dictionary ElementToGroupNames
return String>.Dictionary

GroupNameProperty public_oe static_oe property

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