In This Article

KeyTipService Class

Represents a service that provides properties and events to control the display and behavior of key tips.

public class KeyTipService
Inheritance:
object object

Constructors

KeyTipService()

Initializes an instance of the class.

public KeyTipService()

Methods

GetCustomKeyTipPlacementCallback(DependencyObject)

Gets the value of the CustomKeyTipPlacementCallback attached property for the specified object.

public static CustomKeyTipPlacementCallback GetCustomKeyTipPlacementCallback(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

CustomKeyTipPlacementCallback:

The object's value.

GetIsKeyTipModeActive(DependencyObject)

Gets the value of the IsKeyTipModeActive attached property for the specified object.

public static bool GetIsKeyTipModeActive(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

bool:

The object's value.

GetIsKeyTipScope(DependencyObject)

Gets the value of the IsKeyTipScope attached property for the specified object.

public static bool GetIsKeyTipScope(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

bool:

The object's value.

GetKeyTipAccessText(DependencyObject)

Gets the value of the KeyTipAccessText attached property for the specified object.

public static string GetKeyTipAccessText(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

string:

The object's value.

SetCustomKeyTipPlacementCallback(DependencyObject, CustomKeyTipPlacementCallback)

Sets the value of the CustomKeyTipPlacementCallback attached property to the specified object.

public static void SetCustomKeyTipPlacementCallback(DependencyObject obj, CustomKeyTipPlacementCallback value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value CustomKeyTipPlacementCallback

The value to set.

SetIsKeyTipModeActive(DependencyObject, bool)

Sets the value of the IsKeyTipModeActive attached property to the specified object.

public static void SetIsKeyTipModeActive(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value bool

The value to set.

SetIsKeyTipScope(DependencyObject, bool)

Sets the value of the IsKeyTipScope attached property to the specified object.

public static void SetIsKeyTipScope(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value bool

The value to set.

SetKeyTipAccessText(DependencyObject, string)

Sets the value of the KeyTipAccessText attached property to the specified object.

public static void SetKeyTipAccessText(DependencyObject obj, string value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value string

The value to set.

Fields

CustomKeyTipPlacementCallbackProperty

Identifies the CustomKeyTipPlacementCallback dependency property. This field is read-only.

public static readonly DependencyProperty CustomKeyTipPlacementCallbackProperty

IsKeyTipModeActiveProperty

Identifies the IsKeyTipModeActive dependency property. This field is read-only.

public static readonly DependencyProperty IsKeyTipModeActiveProperty

IsKeyTipScopeProperty

Identifies the IsKeyTipScope dependency property. This field is read-only.

public static readonly DependencyProperty IsKeyTipScopeProperty

KeyTipAccessTextProperty

Identifies the KeyTipAccessText dependency property. This field is read-only.

public static readonly DependencyProperty KeyTipAccessTextProperty

Inherited Members