KeyTipService 類別

定義

表示一種服務,提供屬性、方法和事件,以啟用和管理在 WPF Ribbon控制項中的 KeyTip。

public ref class KeyTipService
public class KeyTipService
type KeyTipService = class
Public Class KeyTipService
繼承
KeyTipService

欄位

ActivatingKeyTipEvent

識別 ActivatingKeyTip 路由事件。

IsKeyTipScopeProperty

識別 IsKeyTipScope 相依性屬性。

KeyTipAccessedEvent

識別 KeyTipAccessed 路由事件。

KeyTipProperty

識別 KeyTip 相依性屬性。

KeyTipStyleProperty

識別 KeyTipStyle 相依性屬性。

PreviewKeyTipAccessedEvent

識別 PreviewKeyTipAccessed 路由事件。

附加屬性

IsKeyTipScope

取得或設定值,指出此屬性所附加的元素是否為 KeyTip 範圍。

KeyTip

取得或設定要用於 KeyTip 的文字。

KeyTipStyle

取得或設定搭配 KeyTip 一起使用的樣式。

方法

AddActivatingKeyTipHandler(DependencyObject, ActivatingKeyTipEventHandler)

加入 ActivatingKeyTip 事件的路由事件處理常式。

AddKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

加入 KeyTipAccessed 事件的路由事件處理常式。

AddPreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

加入 PreviewKeyTipAccessed 事件的路由事件處理常式。

DismissKeyTips()

隱藏目前顯示的 KeyTips。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetIsKeyTipScope(DependencyObject)

傳回指定之項目的 IsKeyTipScope 附加屬性值。

GetKeyTip(DependencyObject)

傳回指定之項目的 KeyTip 附加屬性值。

GetKeyTipStyle(DependencyObject)

傳回指定之項目的 KeyTipStyle 附加屬性值。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
RemoveActivatingKeyTipHandler(DependencyObject, ActivatingKeyTipEventHandler)

移除 ActivatingKeyTip 事件的路由事件處理常式。

RemoveKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

移除 KeyTipAccessed 事件的路由事件處理常式。

RemovePreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

移除 PreviewKeyTipAccessed 事件的路由事件處理常式。

SetIsKeyTipScope(DependencyObject, Boolean)

設定指定之項目的 IsKeyTipScope 附加屬性值。

SetKeyTip(DependencyObject, String)

設定指定之項目的 KeyTip 附加屬性值。

SetKeyTipStyle(DependencyObject, Style)

設定指定之項目的 KeyTipStyle 附加屬性值。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

附加事件

ActivatingKeyTip

啟動 KeyTip 時發生。

KeyTipAccessed

發生於存取 KeyTip 時。

PreviewKeyTipAccessed

發生於存取 KeyTip 時。

適用於