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

Inheritance: System.Windows.Controls.ContentControl
Show file Open project: kasicass/kasicass Class Usage Examples

Public Properties

Property Type Description
ControlSizeDefinitionProperty System.Windows.DependencyProperty
IsInControlGroupProperty System.Windows.DependencyProperty
IsInQuickAccessToolBarProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
CoerceControlSizeDefinition object
HostsRibbonGroup bool
OnControlSizeDefinitionChanged void
OnIsInControlGroupChanged void
OnIsInQuickAccessToolBarChanged void
RibbonControl System
TransferPseudoInheritedProperties void

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void

Private Methods

Method Description
CoerceControlSizeDefinition ( DependencyObject d, object baseValue ) : object
HostsRibbonGroup ( ) : bool
OnControlSizeDefinitionChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsInControlGroupChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsInQuickAccessToolBarChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RibbonControl ( ) : System

Initializes static members of the RibbonControl class. Here we override the default style, and add a couple callbacks.

TransferPseudoInheritedProperties ( ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnCreateAutomationPeer() protected method

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
return System.Windows.Automation.Peers.AutomationPeer

OnTemplateChanged() protected method

protected OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void
oldTemplate System.Windows.Controls.ControlTemplate
newTemplate System.Windows.Controls.ControlTemplate
return void

Property Details

ControlSizeDefinitionProperty public static property

DependencyProperty for ControlSizeDefinition property.
public static DependencyProperty,System.Windows ControlSizeDefinitionProperty
return System.Windows.DependencyProperty

IsInControlGroupProperty public static property

DependencyProperty for IsInControlGroup property.
public static DependencyProperty,System.Windows IsInControlGroupProperty
return System.Windows.DependencyProperty

IsInQuickAccessToolBarProperty public static property

DependencyProperty for IsInQuickAccessToolBar property.
public static DependencyProperty,System.Windows IsInQuickAccessToolBarProperty
return System.Windows.DependencyProperty