KeyTipService Class

.NET Framework (current version)
 

Represents a service that provides properties, methods, and events to enable and manage KeyTips in WPF Ribbon controls.

Namespace:   System.Windows.Controls
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

System.Object
  System.Windows.Controls.KeyTipService

public class KeyTipService

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticIsKeyTipScope

Gets or sets a value that indicates whether the element that this property is attached to is in KeyTip scope.

System_CAPS_pubpropertySystem_CAPS_staticKeyTip

Gets or sets the text to use for the KeyTip.

System_CAPS_pubpropertySystem_CAPS_staticKeyTipStyle

Gets or sets the style to use with the KeyTip.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddActivatingKeyTipHandler(DependencyObject, ActivatingKeyTipEventHandler)

Adds the routed event handler for the ActivatingKeyTip event.

System_CAPS_pubmethodSystem_CAPS_staticAddKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Adds the routed event handler for the KeyTipAccessed event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Adds the routed event handler for the PreviewKeyTipAccessed event.

System_CAPS_pubmethodSystem_CAPS_staticDismissKeyTips()

Hides the KeyTips that are currently displayed.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetIsKeyTipScope(DependencyObject)

Returns the value of the IsKeyTipScope attached property for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetKeyTip(DependencyObject)

Returns the value of the KeyTip attached property for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetKeyTipStyle(DependencyObject)

Returns the value of the KeyTipStyle attached property for the specified element.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticRemoveActivatingKeyTipHandler(DependencyObject, ActivatingKeyTipEventHandler)

Removes the routed event handler for the ActivatingKeyTip event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Removes the routed event handler for the KeyTipAccessed event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Removes the routed event handler for the PreviewKeyTipAccessed event.

System_CAPS_pubmethodSystem_CAPS_staticSetIsKeyTipScope(DependencyObject, Boolean)

Sets the value of the IsKeyTipScope attached property for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetKeyTip(DependencyObject, String)

Sets the value of the KeyTip attached property for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetKeyTipStyle(DependencyObject, Style)

Sets the value of the KeyTipStyle attached property for the specified element.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticActivatingKeyTipEvent

Identifies the ActivatingKeyTip routed event.

System_CAPS_pubfieldSystem_CAPS_staticIsKeyTipScopeProperty

Identifies the IsKeyTipScope dependency property.

System_CAPS_pubfieldSystem_CAPS_staticKeyTipAccessedEvent

Identifies the KeyTipAccessed routed event.

System_CAPS_pubfieldSystem_CAPS_staticKeyTipProperty

Identifies the KeyTip dependency property.

System_CAPS_pubfieldSystem_CAPS_staticKeyTipStyleProperty

Identifies the KeyTipStyle dependency property.

System_CAPS_pubfieldSystem_CAPS_staticPreviewKeyTipAccessedEvent

Identifies the PreviewKeyTipAccessed routed event.

NameDescription
System_CAPS_pubeventSystem_CAPS_staticActivatingKeyTip

Occurs when the KeyTip is activated.

System_CAPS_pubeventSystem_CAPS_staticKeyTipAccessed

Occurs when the KeyTip is accessed.

System_CAPS_pubeventSystem_CAPS_staticPreviewKeyTipAccessed

Occurs when the KeyTip is accessed.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: