KeyTipService Class
Represents a service that provides properties, methods, and events to enable and manage KeyTips in WPF Ribbon controls.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Controls.KeyTipService
Namespace: Microsoft.Windows.Controls
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Class KeyTipService
public class KeyTipService
public ref class KeyTipService
type KeyTipService = class end
public class KeyTipService
The KeyTipService type exposes the following members.
Attached Properties
Name | Description | |
---|---|---|
IsKeyTipScope | Gets or sets a value that indicates whether the element that this property is attached to is in KeyTip scope. | |
KeyTip | Gets or sets the text to use for the KeyTip. | |
KeyTipStyle | Gets or sets the style to use with the KeyTip. |
Top
Methods
Name | Description | |
---|---|---|
AddActivatingKeyTipHandler | Adds the routed event handler for the ActivatingKeyTip event. | |
AddKeyTipAccessedHandler | Adds the routed event handler for the KeyTipAccessed event. | |
AddPreviewKeyTipAccessedHandler | Adds the routed event handler for the PreviewKeyTipAccessed event. | |
DismissKeyTips | Hides the KeyTips that are currently displayed. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIsKeyTipScope | Returns the value of the IsKeyTipScope attached property for the specified element. | |
GetKeyTip | Returns the value of the KeyTip attached property for the specified element. | |
GetKeyTipStyle | Returns the value of the KeyTipStyle attached property for the specified element. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveActivatingKeyTipHandler | Removes the routed event handler for the ActivatingKeyTip event. | |
RemoveKeyTipAccessedHandler | Removes the routed event handler for the KeyTipAccessed event. | |
RemovePreviewKeyTipAccessedHandler | Removes the routed event handler for the PreviewKeyTipAccessed event. | |
SetIsKeyTipScope | Sets the value of the IsKeyTipScope attached property for the specified element. | |
SetKeyTip | Sets the value of the KeyTip attached property for the specified element. | |
SetKeyTipStyle | Sets the value of the KeyTipStyle attached property for the specified element. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Attached Events
Name | Description | |
---|---|---|
ActivatingKeyTip | Occurs when the KeyTip is activated. | |
KeyTipAccessed | Occurs when the KeyTip is accessed. | |
PreviewKeyTipAccessed | Occurs when the KeyTip is accessed. |
Top
Fields
Name | Description | |
---|---|---|
ActivatingKeyTipEvent | Identifies the ActivatingKeyTip routed event. | |
IsKeyTipScopeProperty | Identifies the IsKeyTipScope dependency property. | |
KeyTipAccessedEvent | Identifies the KeyTipAccessed routed event. | |
KeyTipProperty | Identifies the KeyTip dependency property. | |
KeyTipStyleProperty | Identifies the KeyTipStyle dependency property. | |
PreviewKeyTipAccessedEvent | Identifies the PreviewKeyTipAccessed routed event. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.