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

A container for controls placed on the ribbon.
Inheritance: System.Windows.Controls.ContentPresenter
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
OnControlSizeDefinitionChanged void
OnIsInControlGroupChanged void
OnIsInQuickAccessToolBarChanged void
OnRibbonChanged void
RibbonContentPresenter System
TransferPseudoInheritedProperties void

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void

Private Methods

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

Initializes static members of the RibbonContentPresenter class. Here we add a couple callbacks which propagate pseudeinherited proeprties to the child control.

TransferPseudoInheritedProperties ( ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnTemplateChanged() protected method

protected OnTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void
oldTemplate System.Windows.DataTemplate
newTemplate System.Windows.DataTemplate
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