C# Class SolidShineUi.MenuItemExtensions

Adds additional methods that can be used to hook into the menu item's IsEnabledChanged event.
Mostrar archivo Open project: JaykeBird/ssui

Public Methods

Method Description
AttachEnabledHandler ( System.Windows.Controls.MenuItem mi, System.Windows.DependencyPropertyChangedEventHandler eh ) : void
DetachEnabledHandler ( System.Windows.Controls.MenuItem mi, System.Windows.DependencyPropertyChangedEventHandler eh ) : void

Method Details

AttachEnabledHandler() public static method

public static AttachEnabledHandler ( System.Windows.Controls.MenuItem mi, System.Windows.DependencyPropertyChangedEventHandler eh ) : void
mi System.Windows.Controls.MenuItem
eh System.Windows.DependencyPropertyChangedEventHandler
return void

DetachEnabledHandler() public static method

public static DetachEnabledHandler ( System.Windows.Controls.MenuItem mi, System.Windows.DependencyPropertyChangedEventHandler eh ) : void
mi System.Windows.Controls.MenuItem
eh System.Windows.DependencyPropertyChangedEventHandler
return void