KeyTipService Class

.NET Framework 4.5

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

System.Object
  System.Windows.Controls.KeyTipService

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

type KeyTipService =  class end

The KeyTipService type exposes the following members.

  NameDescription
Public attached propertyIsKeyTipScopeGets or sets a value that indicates whether the element that this property is attached to is in KeyTip scope.
Public attached propertyKeyTipGets or sets the text to use for the KeyTip.
Public attached propertyKeyTipStyleGets or sets the style to use with the KeyTip.
Top

  NameDescription
Public methodStatic memberAddActivatingKeyTipHandlerAdds the routed event handler for the ActivatingKeyTip event.
Public methodStatic memberAddKeyTipAccessedHandlerAdds the routed event handler for the KeyTipAccessed event.
Public methodStatic memberAddPreviewKeyTipAccessedHandlerAdds the routed event handler for the PreviewKeyTipAccessed event.
Public methodStatic memberDismissKeyTipsHides the KeyTips that are currently displayed.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetIsKeyTipScopeReturns the value of the IsKeyTipScope attached property for the specified element.
Public methodStatic memberGetKeyTipReturns the value of the KeyTip attached property for the specified element.
Public methodStatic memberGetKeyTipStyleReturns the value of the KeyTipStyle attached property for the specified element.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberRemoveActivatingKeyTipHandlerRemoves the routed event handler for the ActivatingKeyTip event.
Public methodStatic memberRemoveKeyTipAccessedHandlerRemoves the routed event handler for the KeyTipAccessed event.
Public methodStatic memberRemovePreviewKeyTipAccessedHandlerRemoves the routed event handler for the PreviewKeyTipAccessed event.
Public methodStatic memberSetIsKeyTipScopeSets the value of the IsKeyTipScope attached property for the specified element.
Public methodStatic memberSetKeyTipSets the value of the KeyTip attached property for the specified element.
Public methodStatic memberSetKeyTipStyleSets the value of the KeyTipStyle attached property for the specified element.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public attached eventActivatingKeyTipOccurs when the KeyTip is activated.
Public attached eventKeyTipAccessedOccurs when the KeyTip is accessed.
Public attached eventPreviewKeyTipAccessedOccurs when the KeyTip is accessed.
Top

  NameDescription
Public fieldStatic memberActivatingKeyTipEventIdentifies the ActivatingKeyTip routed event.
Public fieldStatic memberIsKeyTipScopePropertyIdentifies the IsKeyTipScope dependency property.
Public fieldStatic memberKeyTipAccessedEventIdentifies the KeyTipAccessed routed event.
Public fieldStatic memberKeyTipPropertyIdentifies the KeyTip dependency property.
Public fieldStatic memberKeyTipStylePropertyIdentifies the KeyTipStyle dependency property.
Public fieldStatic memberPreviewKeyTipAccessedEventIdentifies the PreviewKeyTipAccessed routed event.
Top

.NET Framework

Supported in: 4.5.3

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft