Share via


RibbonControlService 類別

定義

表示提供屬性與方法以控制 Ribbon 控制項之顯示與行為的服務。

public ref class RibbonControlService abstract sealed
public static class RibbonControlService
type RibbonControlService = class
Public Class RibbonControlService
繼承
RibbonControlService

欄位

CanAddToQuickAccessToolBarDirectlyProperty

識別 CanAddToQuickAccessToolBarDirectly 相依性屬性。

CheckedBackgroundProperty

識別 CheckedBackground 相依性屬性。

CheckedBorderBrushProperty

識別 CheckedBorderBrush 相依性屬性。

ControlSizeDefinitionProperty

識別 ControlSizeDefinition 相依性屬性。

CornerRadiusProperty

識別 CornerRadius 相依性屬性。

DefaultControlSizeDefinitionProperty

識別 DefaultControlSizeDefinition 相依性屬性。

DismissPopupEvent

識別 DismissPopup 路由事件。

FocusedBackgroundProperty

識別 FocusedBackground 相依性屬性。

FocusedBorderBrushProperty

識別 FocusedBorderBrush 相依性屬性。

IsInControlGroupProperty

識別 IsInControlGroup 相依性屬性。

IsInQuickAccessToolBarProperty

識別 IsInQuickAccessToolBar 相依性屬性。

LabelProperty

識別 Label 相依性屬性。

LargeImageSourceProperty

識別 LargeImageSource 相依性屬性。

MouseOverBackgroundProperty

識別 MouseOverBackground 相依性屬性。

MouseOverBorderBrushProperty

識別 MouseOverBorderBrush 相依性屬性。

PressedBackgroundProperty

識別 PressedBackground 相依性屬性。

PressedBorderBrushProperty

識別 PressedBorderBrush 相依性屬性。

QuickAccessToolBarControlSizeDefinitionProperty

識別 QuickAccessToolBarControlSizeDefinition 相依性屬性。

QuickAccessToolBarIdProperty

識別 QuickAccessToolBarId 相依性屬性。

RibbonProperty

識別 Ribbon 相依性屬性。

ShowKeyboardCuesProperty

識別 ShowKeyboardCues 相依性屬性。

SmallImageSourceProperty

識別 SmallImageSource 相依性屬性。

ToolTipDescriptionProperty

識別 ToolTipDescription 相依性屬性。

ToolTipFooterDescriptionProperty

識別 ToolTipFooterDescription 相依性屬性。

ToolTipFooterImageSourceProperty

識別 ToolTipFooterImageSource 相依性屬性。

ToolTipFooterTitleProperty

識別 ToolTipFooterTitle 相依性屬性。

ToolTipImageSourceProperty

識別 ToolTipImageSource 相依性屬性。

ToolTipTitleProperty

識別 ToolTipTitle 相依性屬性。

附加屬性

CanAddToQuickAccessToolBarDirectly

取得或設定值,這個值表示是否可以直接將這個控制項加入至快速存取工具列。

CheckedBackground

取得或設定筆刷,這個筆刷會在控制項處於選取狀態時用來繪製其背景。

CheckedBorderBrush

取得或設定筆刷,這個筆刷會在控制項處於選取狀態時用來繪製其外部框線。

ControlSizeDefinition

取得或設定這個控制項的 RibbonControlSizeDefinition

CornerRadius

取得或設定值,這個值表示功能區按鈕邊角形成圓弧狀的程度。

DefaultControlSizeDefinition

取得或設定這個控制項的預設 RibbonControlSizeDefinition

FocusedBackground

取得或設定筆刷,這個筆刷會在控制項具有焦點時用來繪製其背景。

FocusedBorderBrush

取得或設定筆刷,這個筆刷會在控制項具有焦點時用來繪製其外部框線。

IsInControlGroup

取得值,這個值表示控制項是否裝載於 RibbonControlGroup

IsInQuickAccessToolBar

取得值,這個值表示控制項是否裝載於快速存取工具列中。

Label

取得或設定顯示在控制項旁邊或下方的文字。

LargeImageSource

取得或設定顯示於控制項的影像,此時的影像大小設定為 Large

MouseOverBackground

取得或設定筆刷,這個筆刷會在控制項上方有滑鼠指標時用來繪製其背景。

MouseOverBorderBrush

取得或設定筆刷,這個筆刷會在控制項上方有滑鼠指標時用來繪製其外部框線。

PressedBackground

取得或設定筆刷,這個筆刷會在控制項被按下時用來繪製其背景。

PressedBorderBrush

取得或設定筆刷,這個筆刷會在控制項被按下時用來繪製其外部框線。

QuickAccessToolBarControlSizeDefinition

當控制項裝載於快速存取工具列時,取得或設定這個控制項的 RibbonControlSizeDefinition

QuickAccessToolBarId

取得或設定唯一識別項,這個識別項會將功能區控制項連結至快速存取工具列中的對應控制項。

Ribbon

取得這個控制項所屬之 Ribbon 的參考。

ShowKeyboardCues

取得值,這個值表示是否顯示控制項的鍵盤焦點視覺化樣式。

SmallImageSource

取得或設定顯示於控制項的影像,此時的影像大小設定為 Small

ToolTipDescription

取得或設定顯示在這個控制項工具提示中的描述性文字。

ToolTipFooterDescription

取得或設定顯示在這個控制項工具提示之頁尾中的描述性文字。

ToolTipFooterImageSource

取得或設定顯示在這個控制項工具提示之頁尾中的影像。

ToolTipFooterTitle

取得或設定顯示在這個控制項工具提示之頁尾中的標題文字。

ToolTipImageSource

取得或設定顯示在這個控制項工具提中的影像。

ToolTipTitle

取得或設定顯示在這個控制項工具提示中的標題文字。

方法

AddDismissPopupHandler(DependencyObject, RibbonDismissPopupEventHandler)

加入 DismissPopup 附加事件的處理常式。

GetCanAddToQuickAccessToolBarDirectly(DependencyObject)

取得物件之 CanAddToQuickAccessToolBarDirectly 附加屬性的值。

GetCheckedBackground(DependencyObject)

取得物件之 CheckedBackground 附加屬性的值。

GetCheckedBorderBrush(DependencyObject)

取得物件之 CheckedBorderBrush 附加屬性的值。

GetControlSizeDefinition(DependencyObject)

取得物件之 ControlSizeDefinition 附加屬性的值。

GetCornerRadius(DependencyObject)

取得物件之 CornerRadius 附加屬性的值。

GetDefaultControlSizeDefinition(DependencyObject)

取得物件之 DefaultControlSizeDefinition 附加屬性的值。

GetFocusedBackground(DependencyObject)

取得物件之 FocusedBackground 附加屬性的值。

GetFocusedBorderBrush(DependencyObject)

取得物件之 FocusedBorderBrush 附加屬性的值。

GetIsInControlGroup(DependencyObject)

取得物件之 IsInControlGroup 附加屬性的值。

GetIsInQuickAccessToolBar(DependencyObject)

取得物件之 IsInQuickAccessToolBar 附加屬性的值。

GetLabel(DependencyObject)

取得物件之 Label 附加屬性的值。

GetLargeImageSource(DependencyObject)

取得物件之 LargeImageSource 附加屬性的值。

GetMouseOverBackground(DependencyObject)

取得物件之 MouseOverBackground 附加屬性的值。

GetMouseOverBorderBrush(DependencyObject)

取得物件之 MouseOverBorderBrush 附加屬性的值。

GetPressedBackground(DependencyObject)

取得物件之 PressedBackground 附加屬性的值。

GetPressedBorderBrush(DependencyObject)

取得物件之 PressedBorderBrush 附加屬性的值。

GetQuickAccessToolBarControlSizeDefinition(DependencyObject)

取得物件之 QuickAccessToolBarControlSizeDefinition 附加屬性的值。

GetQuickAccessToolBarId(DependencyObject)

取得物件之 QuickAccessToolBarId 附加屬性的值。

GetRibbon(DependencyObject)

取得物件之 Ribbon 附加屬性的值。

GetShowKeyboardCues(DependencyObject)

取得物件之 ShowKeyboardCues 附加屬性的值。

GetSmallImageSource(DependencyObject)

取得物件之 SmallImageSource 附加屬性的值。

GetToolTipDescription(DependencyObject)

取得物件之 ToolTipDescription 附加屬性的值。

GetToolTipFooterDescription(DependencyObject)

取得物件之 ToolTipFooterDescription 附加屬性的值。

GetToolTipFooterImageSource(DependencyObject)

取得物件之 ToolTipFooterImageSource 附加屬性的值。

GetToolTipFooterTitle(DependencyObject)

取得物件之 ToolTipFooterTitle 附加屬性的值。

GetToolTipImageSource(DependencyObject)

取得物件之 ToolTipImageSource 附加屬性的值。

GetToolTipTitle(DependencyObject)

取得物件之 ToolTipTitle 附加屬性的值。

RemoveDismissPopupHandler(DependencyObject, RibbonDismissPopupEventHandler)

移除 DismissPopup 附加事件的處理常式。

SetCanAddToQuickAccessToolBarDirectly(DependencyObject, Boolean)

設定物件的 CanAddToQuickAccessToolBarDirectly 附加屬性值。

SetCheckedBackground(DependencyObject, Brush)

設定物件的 CheckedBackground 附加屬性值。

SetCheckedBorderBrush(DependencyObject, Brush)

設定物件的 CheckedBorderBrush 附加屬性值。

SetControlSizeDefinition(DependencyObject, RibbonControlSizeDefinition)

設定物件的 ControlSizeDefinition 附加屬性值。

SetCornerRadius(DependencyObject, CornerRadius)

設定物件的 CornerRadius 附加屬性值。

SetDefaultControlSizeDefinition(DependencyObject, RibbonControlSizeDefinition)

設定物件的 DefaultControlSizeDefinition 附加屬性值。

SetFocusedBackground(DependencyObject, Brush)

設定物件的 FocusedBackground 附加屬性值。

SetFocusedBorderBrush(DependencyObject, Brush)

設定物件的 FocusedBorderBrush 附加屬性值。

SetLabel(DependencyObject, String)

設定物件的 Label 附加屬性值。

SetLargeImageSource(DependencyObject, ImageSource)

設定物件的 LargeImageSource 附加屬性值。

SetMouseOverBackground(DependencyObject, Brush)

設定物件的 MouseOverBackground 附加屬性值。

SetMouseOverBorderBrush(DependencyObject, Brush)

設定物件的 MouseOverBorderBrush 附加屬性值。

SetPressedBackground(DependencyObject, Brush)

設定物件的 PressedBackground 附加屬性值。

SetPressedBorderBrush(DependencyObject, Brush)

設定物件的 PressedBorderBrush 附加屬性值。

SetQuickAccessToolBarControlSizeDefinition(DependencyObject, RibbonControlSizeDefinition)

設定物件的 QuickAccessToolBarControlSizeDefinition 附加屬性值。

SetQuickAccessToolBarId(DependencyObject, Object)

設定物件的 QuickAccessToolBarId 附加屬性值。

SetSmallImageSource(DependencyObject, ImageSource)

設定物件的 SmallImageSource 附加屬性值。

SetToolTipDescription(DependencyObject, String)

設定物件的 ToolTipDescription 附加屬性值。

SetToolTipFooterDescription(DependencyObject, String)

設定物件的 ToolTipFooterDescription 附加屬性值。

SetToolTipFooterImageSource(DependencyObject, ImageSource)

設定物件的 ToolTipFooterImageSource 附加屬性值。

SetToolTipFooterTitle(DependencyObject, String)

設定物件的 ToolTipFooterTitle 附加屬性值。

SetToolTipImageSource(DependencyObject, ImageSource)

設定物件的 ToolTipImageSource 附加屬性值。

SetToolTipTitle(DependencyObject, String)

設定物件的 ToolTipTitle 附加屬性值。

附加事件

DismissPopup

發生於功能區快顯關閉時。

適用於