Compartir a través de


Ribbon Class

Definition

public ref class Ribbon : System::Windows::Controls::Primitives::Selector
[System.Windows.StyleTypedProperty(Property="TabHeaderStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonTabHeader))]
[System.Windows.StyleTypedProperty(Property="ContextualTabGroupStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonContextualTabGroup))]
[System.Windows.TemplatePart(Name="PART_HelpPane", Type=typeof(System.Windows.Controls.ContentPresenter))]
[System.Windows.TemplatePart(Name="PART_ITEMSPRESENTERPOPUP", Type=typeof(System.Windows.Controls.Primitives.Popup))]
[System.Windows.TemplatePart(Name="PART_ContextualTabGroupItemsControl", Type=typeof(Microsoft.Windows.Controls.Ribbon.RibbonContextualTabGroupItemsControl))]
[System.Windows.TemplatePart(Name="PART_TitlePanel", Type=typeof(Microsoft.Windows.Controls.Ribbon.Primitives.RibbonTitlePanel))]
[System.Windows.TemplatePart(Name="PART_TitleHost", Type=typeof(System.Windows.Controls.ContentPresenter))]
[System.Windows.TemplatePart(Name="QatTopHost", Type=typeof(System.Windows.Controls.Grid))]
public class Ribbon : System.Windows.Controls.Primitives.Selector
[<System.Windows.StyleTypedProperty(Property="TabHeaderStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonTabHeader))>]
[<System.Windows.StyleTypedProperty(Property="ContextualTabGroupStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonContextualTabGroup))>]
[<System.Windows.TemplatePart(Name="PART_HelpPane", Type=typeof(System.Windows.Controls.ContentPresenter))>]
[<System.Windows.TemplatePart(Name="PART_ITEMSPRESENTERPOPUP", Type=typeof(System.Windows.Controls.Primitives.Popup))>]
[<System.Windows.TemplatePart(Name="PART_ContextualTabGroupItemsControl", Type=typeof(Microsoft.Windows.Controls.Ribbon.RibbonContextualTabGroupItemsControl))>]
[<System.Windows.TemplatePart(Name="PART_TitlePanel", Type=typeof(Microsoft.Windows.Controls.Ribbon.Primitives.RibbonTitlePanel))>]
[<System.Windows.TemplatePart(Name="PART_TitleHost", Type=typeof(System.Windows.Controls.ContentPresenter))>]
[<System.Windows.TemplatePart(Name="QatTopHost", Type=typeof(System.Windows.Controls.Grid))>]
type Ribbon = class
    inherit Selector
Public Class Ribbon
Inherits Selector
Inheritance
Ribbon
Attributes

Constructors

Ribbon()

Fields

ApplicationMenuProperty
CheckedBackgroundProperty
CheckedBorderBrushProperty
CollapsedEvent
ContextualTabGroupHeaderTemplateProperty
ContextualTabGroupsSourceProperty
ContextualTabGroupStyleProperty
ExpandedEvent
FocusedBackgroundProperty
FocusedBorderBrushProperty
HelpPaneContentProperty
HelpPaneContentTemplateProperty
IsCollapsedProperty
IsDropDownOpenProperty
IsHostedInRibbonWindowProperty
IsMinimizedProperty
MouseOverBackgroundProperty
MouseOverBorderBrushProperty
PressedBackgroundProperty
PressedBorderBrushProperty
QuickAccessToolBarProperty
ShowQuickAccessToolBarOnTopProperty
TabHeaderStyleProperty
TabHeaderTemplateProperty
TitleProperty
TitleTemplateProperty
WindowIconVisibilityProperty

Properties

ApplicationMenu
CheckedBackground
CheckedBorderBrush
ContextualTabGroupHeaderTemplate
ContextualTabGroups
ContextualTabGroupsSource
ContextualTabGroupStyle
FocusedBackground
FocusedBorderBrush
HelpPaneContent
HelpPaneContentTemplate
IsCollapsed
IsDropDownOpen
IsHostedInRibbonWindow
IsMinimized
MouseOverBackground
MouseOverBorderBrush
PressedBackground
PressedBorderBrush
QuickAccessToolBar
ShowQuickAccessToolBarOnTop
TabHeaderStyle
TabHeaderTemplate
Title
TitleTemplate
WindowIconVisibility

Methods

GetContainerForItemOverride()
IsItemItsOwnContainerOverride(Object)
OnApplyTemplate()
OnCreateAutomationPeer()
OnItemsChanged(NotifyCollectionChangedEventArgs)
OnKeyDown(KeyEventArgs)
OnMouseDown(MouseButtonEventArgs)
OnPreviewMouseDown(MouseButtonEventArgs)
OnPreviewMouseWheel(MouseWheelEventArgs)
OnSelectionChanged(SelectionChangedEventArgs)
PrepareContainerForItemOverride(DependencyObject, Object)

Events

Collapsed
Expanded

Applies to