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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.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

System.Windows.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

System.String:

The key tip text to display.

Methods

ToString()

Returns the string representation of a System.Windows.Controls.Control object.

public override string ToString()

Returns

System.String:

A string that represents the control.

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

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods