NativeMenuItemSeparator Class
Definition
public class NativeMenuItemSeparator
Constructors
| Name | Description |
|---|---|
| NativeMenuItemSeparator | No summary available. |
NativeMenuItemSeparator Constructor
public NativeMenuItemSeparator()
Methods
| Name | Description |
|---|---|
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns 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. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks 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. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| Command | Gets or sets the command associated with the menu item. Inherited from NativeMenuItem. |
| CommandParameter | Gets or sets the parameter to pass to the Avalonia.Controls.MenuItem.Command property of a Avalonia.Controls.MenuItem. Inherited from NativeMenuItem. |
| Gesture | Gets or sets the input gesture that will be displayed in the menu item. Inherited from NativeMenuItem. |
| HasClickHandlers | Inherited from NativeMenuItem. |
| Header | Gets or sets the content of the control's header. Inherited from NativeMenuItem. |
| Icon | Gets or sets the icon that appears in a Avalonia.Controls.MenuItem. Inherited from NativeMenuItem. |
| IsChecked | Gets 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. |
| IsEnabled | Gets or sets a value indicating whether the control is enabled for user interaction. Inherited from NativeMenuItem. |
| IsVisible | Gets or sets a value indicating whether this menu item is visible. Inherited from NativeMenuItem. |
| Menu | Inherited from NativeMenuItem. |
| ToggleType | Gets toggle type of the menu item. Inherited from NativeMenuItem. |
| ToolTip | Gets 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. |
| Parent | Inherited from NativeMenuItemBase. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
Fields
Events
| Name | Description |
|---|---|
| Click | Occurs when a Avalonia.Controls.NativeMenuItem is clicked. Inherited from NativeMenuItem. |
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |