Redigeeri

Jagamisviis:


KeyTipService Class

Definition

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

public ref class KeyTipService
public class KeyTipService
type KeyTipService = class
Public Class KeyTipService
Inheritance
KeyTipService

Fields

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.

Attached Properties

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.

Methods

AddActivatingKeyTipHandler(DependencyObject, ActivatingKeyTipEventHandler)

Adds the routed event handler for the ActivatingKeyTip event.

AddKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Adds the routed event handler for the KeyTipAccessed event.

AddPreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Adds the routed event handler for the PreviewKeyTipAccessed event.

DismissKeyTips()

Hides the KeyTips that are currently displayed.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIsKeyTipScope(DependencyObject)

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

GetKeyTip(DependencyObject)

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

GetKeyTipStyle(DependencyObject)

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(DependencyObject, ActivatingKeyTipEventHandler)

Removes the routed event handler for the ActivatingKeyTip event.

RemoveKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Removes the routed event handler for the KeyTipAccessed event.

RemovePreviewKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler)

Removes the routed event handler for the PreviewKeyTipAccessed event.

SetIsKeyTipScope(DependencyObject, Boolean)

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

SetKeyTip(DependencyObject, String)

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

SetKeyTipStyle(DependencyObject, Style)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Attached Events

ActivatingKeyTip

Occurs when the KeyTip is activated.

KeyTipAccessed

Occurs when the KeyTip is accessed.

PreviewKeyTipAccessed

Occurs when the KeyTip is accessed.

Applies to