C# Класс Microsoft.Windows.Controls.Ribbon.RibbonGalleryItem

RibbonGalleryItem inherits from ContentControl is an Item inside RibbonGalleryCategory which itself is an Item of RibbonGallery itself.
Наследование: System.Windows.Controls.ContentControl, ISyncKeyTipAndContent
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CheckedBackgroundProperty System.Windows.DependencyProperty
CheckedBorderBrushProperty System.Windows.DependencyProperty
IsHighlightedProperty System.Windows.DependencyProperty
IsPressedProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty
KeyTipProperty System.Windows.DependencyProperty
MouseOverBackgroundProperty System.Windows.DependencyProperty
MouseOverBorderBrushProperty System.Windows.DependencyProperty
PressedBackgroundProperty System.Windows.DependencyProperty
PressedBorderBrushProperty System.Windows.DependencyProperty
RibbonProperty System.Windows.DependencyProperty
SelectedEvent System.Windows.RoutedEvent
ToolTipDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterImageSourceProperty System.Windows.DependencyProperty
ToolTipFooterTitleProperty System.Windows.DependencyProperty
ToolTipImageSourceProperty System.Windows.DependencyProperty
ToolTipTitleProperty System.Windows.DependencyProperty
UnselectedEvent System.Windows.RoutedEvent

Private Properties

Свойство Тип Описание
CoerceContent object
CoerceKeyTip object
OnActivatingKeyTipThunk void
OnContentChanged void
OnIsHighlightedChanged void
OnIsSelectedChanged void
OnKeyTipAccessedThunk void
OnKeyTipChanged void
RibbonGalleryItem System
SetSelectedOnInput void
SyncKeyTipAndContent void

Защищенные методы

Метод Описание
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void

This method is invoked when the IsFocused property changes to true.

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

This is the method that responds to the KeyDown event.

OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

This is the method that responds to the KeyUp event.

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

An event announcing that the keyboard is no longer focused

OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void

An event reporting the mouse left this element.

OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

This is the method that responds to the MouseButtonEvent event.

OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

This is the method that responds to the MouseButtonEvent event.

OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

This is the method that responds to the MouseEvent event.

OnSelected ( RoutedEventArgs e ) : void

Called when IsSelected becomes true. Default implementation fires the Selected event.

OnUnselected ( RoutedEventArgs e ) : void

Called when IsSelected becomes false. Default implementation fires the Unselected event.

Приватные методы

Метод Описание
CoerceContent ( DependencyObject d, object baseValue ) : object
CoerceKeyTip ( DependencyObject d, object baseValue ) : object
OnActivatingKeyTipThunk ( object sender, ActivatingKeyTipEventArgs e ) : void
OnContentChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsHighlightedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsSelectedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnKeyTipAccessedThunk ( object sender, KeyTipAccessedEventArgs e ) : void
OnKeyTipChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RibbonGalleryItem ( ) : System

Initializes static members of the RibbonGalleryItem class.

SetSelectedOnInput ( ) : void
SyncKeyTipAndContent ( ) : void

Описание методов

OnActivatingKeyTip() защищенный Метод

protected OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
e ActivatingKeyTipEventArgs
Результат void

OnCreateAutomationPeer() защищенный Метод

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
Результат System.Windows.Automation.Peers.AutomationPeer

OnGotKeyboardFocus() защищенный Метод

This method is invoked when the IsFocused property changes to true.
protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs Event arguments.
Результат void

OnKeyDown() защищенный Метод

This is the method that responds to the KeyDown event.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Event arguments
Результат void

OnKeyTipAccessed() защищенный Метод

protected OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
e KeyTipAccessedEventArgs
Результат void

OnKeyUp() защищенный Метод

This is the method that responds to the KeyUp event.
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Event arguments
Результат void

OnLostKeyboardFocus() защищенный Метод

An event announcing that the keyboard is no longer focused
protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs Event arguments
Результат void

OnMouseLeave() защищенный Метод

An event reporting the mouse left this element.
protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs Event arguments
Результат void

OnMouseLeftButtonDown() защищенный Метод

This is the method that responds to the MouseButtonEvent event.
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs Event arguments
Результат void

OnMouseLeftButtonUp() защищенный Метод

This is the method that responds to the MouseButtonEvent event.
protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs Event arguments
Результат void

OnMouseMove() защищенный Метод

This is the method that responds to the MouseEvent event.
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs Event arguments
Результат void

OnSelected() защищенный Метод

Called when IsSelected becomes true. Default implementation fires the Selected event.
protected OnSelected ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs Event arguments.
Результат void

OnUnselected() защищенный Метод

Called when IsSelected becomes false. Default implementation fires the Unselected event.
protected OnUnselected ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs Event arguments.
Результат void

Описание свойств

CheckedBackgroundProperty публичное статическое свойство

DependencyProperty for CheckedBackground property.
public static DependencyProperty,System.Windows CheckedBackgroundProperty
Результат System.Windows.DependencyProperty

CheckedBorderBrushProperty публичное статическое свойство

DependencyProperty for CheckedBorderBrush property.
public static DependencyProperty,System.Windows CheckedBorderBrushProperty
Результат System.Windows.DependencyProperty

IsHighlightedProperty публичное статическое свойство

The DependencyProperty for the IsHighlighted property. Flags: None Default Value: false
public static DependencyProperty,System.Windows IsHighlightedProperty
Результат System.Windows.DependencyProperty

IsPressedProperty публичное статическое свойство

The DependencyProperty for the IsPressed property. Flags: None Default Value: false
public static DependencyProperty,System.Windows IsPressedProperty
Результат System.Windows.DependencyProperty

IsSelectedProperty публичное статическое свойство

Indicates whether this RibbonGalleryItem is selected.
public static DependencyProperty,System.Windows IsSelectedProperty
Результат System.Windows.DependencyProperty

KeyTipProperty публичное статическое свойство

DependencyProperty for KeyTip property.
public static DependencyProperty,System.Windows KeyTipProperty
Результат System.Windows.DependencyProperty

MouseOverBackgroundProperty публичное статическое свойство

DependencyProperty for MouseOverBackground property.
public static DependencyProperty,System.Windows MouseOverBackgroundProperty
Результат System.Windows.DependencyProperty

MouseOverBorderBrushProperty публичное статическое свойство

DependencyProperty for MouseOverBorderBrush property.
public static DependencyProperty,System.Windows MouseOverBorderBrushProperty
Результат System.Windows.DependencyProperty

PressedBackgroundProperty публичное статическое свойство

DependencyProperty for PressedBackground property.
public static DependencyProperty,System.Windows PressedBackgroundProperty
Результат System.Windows.DependencyProperty

PressedBorderBrushProperty публичное статическое свойство

DependencyProperty for PressedBorderBrush property.
public static DependencyProperty,System.Windows PressedBorderBrushProperty
Результат System.Windows.DependencyProperty

RibbonProperty публичное статическое свойство

DependencyProperty for Ribbon property.
public static DependencyProperty,System.Windows RibbonProperty
Результат System.Windows.DependencyProperty

SelectedEvent публичное статическое свойство

Raised when the item's IsSelected property becomes true.
public static RoutedEvent,System.Windows SelectedEvent
Результат System.Windows.RoutedEvent

ToolTipDescriptionProperty публичное статическое свойство

DependencyProperty for ToolTipDescription property.
public static DependencyProperty,System.Windows ToolTipDescriptionProperty
Результат System.Windows.DependencyProperty

ToolTipFooterDescriptionProperty публичное статическое свойство

DependencyProperty for ToolTipFooterDescription property.
public static DependencyProperty,System.Windows ToolTipFooterDescriptionProperty
Результат System.Windows.DependencyProperty

ToolTipFooterImageSourceProperty публичное статическое свойство

DependencyProperty for ToolTipFooterImageSource property.
public static DependencyProperty,System.Windows ToolTipFooterImageSourceProperty
Результат System.Windows.DependencyProperty

ToolTipFooterTitleProperty публичное статическое свойство

DependencyProperty for ToolTipFooterTitle property.
public static DependencyProperty,System.Windows ToolTipFooterTitleProperty
Результат System.Windows.DependencyProperty

ToolTipImageSourceProperty публичное статическое свойство

DependencyProperty for ToolTipImageSource property.
public static DependencyProperty,System.Windows ToolTipImageSourceProperty
Результат System.Windows.DependencyProperty

ToolTipTitleProperty публичное статическое свойство

DependencyProperty for ToolTipTitle property.
public static DependencyProperty,System.Windows ToolTipTitleProperty
Результат System.Windows.DependencyProperty

UnselectedEvent публичное статическое свойство

Raised when the item's IsSelected property becomes false.
public static RoutedEvent,System.Windows UnselectedEvent
Результат System.Windows.RoutedEvent