In This Article

KeyTipOpeningEventArgs Class

Provides event arguments for positioning a key tip that is opening.

public class KeyTipOpeningEventArgs : RoutedEventArgs
Inheritance:
System.Object System.EventArgs System.Windows.RoutedEventArgs Object

Constructors

KeyTipOpeningEventArgs()

Initializes a new instance of the KeyTipOpeningEventArgs class.

public KeyTipOpeningEventArgs()

Properties

HorizontalAlignment

Gets or sets the horizonal alignment of the key tip.

public KeyTipHorizontalAlignment HorizontalAlignment { get; set; }

Property Value

KeyTipHorizontalAlignment:

A KeyTipHorizontalAlignment specifying the horizonal alignment of the key tip. The default value is KeyTipCenterAtTargetCenter.

HorizontalOffset

Gets or sets the horizontal offset from the horizontal placement.

public double HorizontalOffset { get; set; }

Property Value

System.Double:

The horizontal offset amount.

IsVisible

Gets whether the key tip should be visible once available to be invoked.

public bool IsVisible { get; set; }

Property Value

System.Boolean:

true if the key tip should be visible once available to be invoked; otherwise, false. The default value is true.

Remarks

This property should only be set to false when a key tip should be hidden due to its target element being scrolled out of view.

PlacementTarget

Gets or sets the System.Windows.UIElement that is the placement target for positioning the key tip.

public UIElement PlacementTarget { get; set; }

Property Value

System.Windows.UIElement:

The System.Windows.UIElement that is the placement target for positioning the key tip.

VerticalAlignment

Gets or sets the vertical alignment of the key tip.

public KeyTipVerticalAlignment VerticalAlignment { get; set; }

Property Value

KeyTipVerticalAlignment:

A KeyTipVerticalAlignment specifying the vertical alignment of the key tip. The default value is KeyTipCenterAtTargetBottom.

VerticalOffset

Gets or sets the vertical offset from the vertical placement.

public double VerticalOffset { get; set; }

Property Value

System.Double:

The vertical offset amount.

Inherited Members

  • System.EventArgs.Empty
  • System.Object.ToString()
  • 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()