In This Article

KeyTip Class

Represents a key tip control that pops up to show the keys that access a target control.

public class KeyTip : Control
Inheritance:
object Visual UIElement FrameworkElement Control object

Constructors

KeyTip()

Initializes a new instance of the KeyTip class.

public KeyTip()

Properties

CornerRadius

Gets or sets the corner radius of the control's border.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius:

The corner radius of the control's border.

Text

Gets or sets the key tip text to display.

[Localizability(LocalizationCategory.Label)]
public string Text { get; set; }

Property Value

string:

The key tip text to display.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Fields

CornerRadiusProperty

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

public static readonly DependencyProperty CornerRadiusProperty

TextProperty

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

public static readonly DependencyProperty TextProperty