KeyTipOpeningEventArgs Class
Provides event arguments for positioning a key tip that is opening.
public class KeyTipOpeningEventArgs : RoutedEventArgs
Constructors
KeyTipOpeningEventArgs()
Initializes a new instance of the KeyTipOpeningEventArgs
class.
public KeyTipOpeningEventArgs()
Properties
HorizontalAlignment
A KeyTipHorizontalAlignment specifying the horizonal alignment of the key tip.
public KeyTipHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
- KeyTipHorizontalAlignment:
The default value is KeyTipCenterAtTargetCenter.
HorizontalOffset
The horizontal offset from the horizontal placement.
IsVisible
Whether the key tip should be visible once available to be invoked.
public bool IsVisible { get; set; }
Property Value
- bool:
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
The Avalonia.Input.InputElement that is the placement target for positioning the key tip.
public InputElement? PlacementTarget { get; set; }
Property Value
- InputElement
VerticalAlignment
A KeyTipVerticalAlignment specifying the horizonal alignment of the key tip.
public KeyTipVerticalAlignment VerticalAlignment { get; set; }
Property Value
- KeyTipVerticalAlignment:
The default value is KeyTipCenterAtTargetBottom.
VerticalOffset
The vertical offset from the vertical placement.
Inherited Members
- RoutedEventArgs.Handled
- RoutedEventArgs.RoutedEvent
- RoutedEventArgs.Route
- RoutedEventArgs.Source
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()