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

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

Public Properties

Property Type Description
CanAddToQuickAccessToolBarDirectlyProperty System.Windows.DependencyProperty
CheckedBackgroundProperty System.Windows.DependencyProperty
CheckedBorderBrushProperty System.Windows.DependencyProperty
ControlSizeDefinitionProperty System.Windows.DependencyProperty
CornerRadiusProperty System.Windows.DependencyProperty
FocusedBackgroundProperty System.Windows.DependencyProperty
FocusedBorderBrushProperty System.Windows.DependencyProperty
IsInControlGroupProperty System.Windows.DependencyProperty
IsInQuickAccessToolBarProperty System.Windows.DependencyProperty
KeyTipProperty System.Windows.DependencyProperty
LabelProperty System.Windows.DependencyProperty
LargeImageSourceProperty System.Windows.DependencyProperty
MouseOverBackgroundProperty System.Windows.DependencyProperty
MouseOverBorderBrushProperty System.Windows.DependencyProperty
PressedBackgroundProperty System.Windows.DependencyProperty
PressedBorderBrushProperty System.Windows.DependencyProperty
QuickAccessToolBarControlSizeDefinitionProperty System.Windows.DependencyProperty
QuickAccessToolBarIdProperty System.Windows.DependencyProperty
RibbonProperty System.Windows.DependencyProperty
ShowKeyboardCuesProperty System.Windows.DependencyProperty
SmallImageSourceProperty System.Windows.DependencyProperty
ToolTipDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterImageSourceProperty System.Windows.DependencyProperty
ToolTipFooterTitleProperty System.Windows.DependencyProperty
ToolTipImageSourceProperty System.Windows.DependencyProperty
ToolTipTitleProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
OnActivatingKeyTipThunk void
OnCoerceFocusable object
OnKeyTipAccessedThunk void
RibbonRadioButton System

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnClick ( ) : void
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer

Get AutomationPeer for RibbonToggleButton control

OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

This override ensures that the base call doesn't cause the control to take keyboard focus. And it does so by temporarily coercing the FocusableProperty to false.

Private Methods

Method Description
OnActivatingKeyTipThunk ( object sender, ActivatingKeyTipEventArgs e ) : void
OnCoerceFocusable ( DependencyObject d, object baseValue ) : object
OnKeyTipAccessedThunk ( object sender, KeyTipAccessedEventArgs e ) : void
RibbonRadioButton ( ) : System

Initializes static members of the RibbonRadioButton class. Here we override the default style, a couple callbacks, and allow tooltips to be shown for disabled controls.

Method Details

OnActivatingKeyTip() protected method

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

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnClick() protected method

protected OnClick ( ) : void
return void

OnCreateAutomationPeer() protected method

Get AutomationPeer for RibbonToggleButton control
protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
return System.Windows.Automation.Peers.AutomationPeer

OnGotKeyboardFocus() protected method

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

OnKeyTipAccessed() protected method

protected OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
e KeyTipAccessedEventArgs
return void

OnLostKeyboardFocus() protected method

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

OnMouseLeftButtonDown() protected method

This override ensures that the base call doesn't cause the control to take keyboard focus. And it does so by temporarily coercing the FocusableProperty to false.
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

Property Details

CanAddToQuickAccessToolBarDirectlyProperty public static property

DependencyProperty for CanAddToQuickAccessToolBarDirectly property.
public static DependencyProperty,System.Windows CanAddToQuickAccessToolBarDirectlyProperty
return System.Windows.DependencyProperty

CheckedBackgroundProperty public static property

DependencyProperty for CheckedBackground property.
public static DependencyProperty,System.Windows CheckedBackgroundProperty
return System.Windows.DependencyProperty

CheckedBorderBrushProperty public static property

DependencyProperty for CheckedBorderBrush property.
public static DependencyProperty,System.Windows CheckedBorderBrushProperty
return System.Windows.DependencyProperty

ControlSizeDefinitionProperty public static property

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

CornerRadiusProperty public static property

DependencyProperty for CornerRadius
public static DependencyProperty,System.Windows CornerRadiusProperty
return System.Windows.DependencyProperty

FocusedBackgroundProperty public static property

DependencyProperty for FocusedBackground property.
public static DependencyProperty,System.Windows FocusedBackgroundProperty
return System.Windows.DependencyProperty

FocusedBorderBrushProperty public static property

DependencyProperty for FocusedBorderBrush property.
public static DependencyProperty,System.Windows FocusedBorderBrushProperty
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

KeyTipProperty public static property

DependencyProperty for KeyTip property.
public static DependencyProperty,System.Windows KeyTipProperty
return System.Windows.DependencyProperty

LabelProperty public static property

DependencyProperty for Label property.
public static DependencyProperty,System.Windows LabelProperty
return System.Windows.DependencyProperty

LargeImageSourceProperty public static property

DependencyProperty for LargeImageSource property.
public static DependencyProperty,System.Windows LargeImageSourceProperty
return System.Windows.DependencyProperty

MouseOverBackgroundProperty public static property

DependencyProperty for MouseOverBackground property.
public static DependencyProperty,System.Windows MouseOverBackgroundProperty
return System.Windows.DependencyProperty

MouseOverBorderBrushProperty public static property

DependencyProperty for MouseOverBorderBrush property.
public static DependencyProperty,System.Windows MouseOverBorderBrushProperty
return System.Windows.DependencyProperty

PressedBackgroundProperty public static property

DependencyProperty for PressedBackground property.
public static DependencyProperty,System.Windows PressedBackgroundProperty
return System.Windows.DependencyProperty

PressedBorderBrushProperty public static property

DependencyProperty for PressedBorderBrush property.
public static DependencyProperty,System.Windows PressedBorderBrushProperty
return System.Windows.DependencyProperty

QuickAccessToolBarControlSizeDefinitionProperty public static property

DependencyProperty for QuickAccessToolBarControlSizeDefinition property.
public static DependencyProperty,System.Windows QuickAccessToolBarControlSizeDefinitionProperty
return System.Windows.DependencyProperty

QuickAccessToolBarIdProperty public static property

DependencyProperty for QuickAccessToolBarId property.
public static DependencyProperty,System.Windows QuickAccessToolBarIdProperty
return System.Windows.DependencyProperty

RibbonProperty public static property

DependencyProperty for Ribbon property.
public static DependencyProperty,System.Windows RibbonProperty
return System.Windows.DependencyProperty

ShowKeyboardCuesProperty public static property

DependencyProperty for ShowKeyboardCues property.
public static DependencyProperty,System.Windows ShowKeyboardCuesProperty
return System.Windows.DependencyProperty

SmallImageSourceProperty public static property

DependencyProperty for SmallImageSource property.
public static DependencyProperty,System.Windows SmallImageSourceProperty
return System.Windows.DependencyProperty

ToolTipDescriptionProperty public static property

DependencyProperty for ToolTipDescription property.
public static DependencyProperty,System.Windows ToolTipDescriptionProperty
return System.Windows.DependencyProperty

ToolTipFooterDescriptionProperty public static property

DependencyProperty for ToolTipFooterDescription property.
public static DependencyProperty,System.Windows ToolTipFooterDescriptionProperty
return System.Windows.DependencyProperty

ToolTipFooterImageSourceProperty public static property

DependencyProperty for ToolTipFooterImageSource property.
public static DependencyProperty,System.Windows ToolTipFooterImageSourceProperty
return System.Windows.DependencyProperty

ToolTipFooterTitleProperty public static property

DependencyProperty for ToolTipFooterTitle property.
public static DependencyProperty,System.Windows ToolTipFooterTitleProperty
return System.Windows.DependencyProperty

ToolTipImageSourceProperty public static property

DependencyProperty for ToolTipImageSource property.
public static DependencyProperty,System.Windows ToolTipImageSourceProperty
return System.Windows.DependencyProperty

ToolTipTitleProperty public static property

DependencyProperty for ToolTipTitle property.
public static DependencyProperty,System.Windows ToolTipTitleProperty
return System.Windows.DependencyProperty