Skip to main content

NativeMenuItemSeparator Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class NativeMenuItemSeparator

Inheritance: object -> AvaloniaObject -> NativeMenuItemBase -> NativeMenuItem -> NativeMenuItemSeparator

Constructors

NameDescription
NativeMenuItemSeparatorNo summary available.

NativeMenuItemSeparator Constructor

public NativeMenuItemSeparator()

Methods

NameDescription
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject.
ClearValue (4 overloads)Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetCurrentValue (2 overloads)Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject.
SetValue (3 overloads)Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties

NameDescription
CommandGets or sets the command associated with the menu item. Inherited from NativeMenuItem.
CommandParameterGets or sets the parameter to pass to the Avalonia.Controls.MenuItem.Command property of a Avalonia.Controls.MenuItem. Inherited from NativeMenuItem.
GestureGets or sets the input gesture that will be displayed in the menu item. Inherited from NativeMenuItem.
HasClickHandlersInherited from NativeMenuItem.
HeaderGets or sets the content of the control's header. Inherited from NativeMenuItem.
IconGets or sets the icon that appears in a Avalonia.Controls.MenuItem. Inherited from NativeMenuItem.
IsCheckedGets or sets if menu item is checked when Avalonia.Controls.MenuItem.ToggleType is Avalonia.Controls.MenuItemToggleType.CheckBox or Avalonia.Controls.MenuItemToggleType.Radio. Inherited from NativeMenuItem.
IsEnabledGets or sets a value indicating whether the control is enabled for user interaction. Inherited from NativeMenuItem.
IsVisibleGets or sets a value indicating whether this menu item is visible. Inherited from NativeMenuItem.
MenuInherited from NativeMenuItem.
ToggleTypeGets toggle type of the menu item. Inherited from NativeMenuItem.
ToolTipGets or sets the tooltip associated with the menu item. This may not be supported by the native menu provider, but will be passed on to the non-native fallback menu item if used. Inherited from NativeMenuItem.
ParentInherited from NativeMenuItemBase.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
ItemInherited from AvaloniaObject.

Fields

Events

NameDescription
ClickOccurs when a Avalonia.Controls.NativeMenuItem is clicked. Inherited from NativeMenuItem.
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.