C# Class Microsoft.Windows.Controls.Ribbon.RibbonFilterMenuButton

The filter menu button in a RibbonGallery has a different default Style (with a much different Template) than a normal RibbonMenuButton. Therefore, we've decided to create a new class for it so that we can specify our Style as the default. This way, if the user specifies RibbonGallery.FilterMenuButtonStyle, the supplied Style is merged with our default Style instead of throwing it away. Thus, app authors don't have to retemplate the filter menu button if they just want to restyle a few properties.
Inheritance: RibbonMenuButton
Mostrar archivo Open project: kasicass/kasicass

Protected Methods

Method Description
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnDismissPopup ( RibbonDismissPopupEventArgs e ) : void

Private Methods

Method Description
OnAnyMouseDown ( System e ) : void
OnIsDropDownOpenChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
RibbonFilterMenuButton ( ) : System

Initializes static members of the RibbonFilterMenuButton class. Here we override the default Style.

Method Details

OnActivatingKeyTip() protected method

protected OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
e ActivatingKeyTipEventArgs
return void

OnDismissPopup() protected method

protected OnDismissPopup ( RibbonDismissPopupEventArgs e ) : void
e RibbonDismissPopupEventArgs
return void