- Namespace
- Avalonia
.Controls - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- I
Native Menu Item Exporter Events Impl Bridge
- Base Types
-
- object
- AvaloniaObject
- NativeMenuItemBase
graph BT
Type-->Base0["NativeMenuItemBase"]
click Base0 "/api/Avalonia.Controls/NativeMenuItemBase"
Base0-->Base1["AvaloniaObject"]
click Base1 "/api/Avalonia/AvaloniaObject"
Base1-->Base2["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type-.->Interface4["INativeMenuItemExporterEventsImplBridge"]
click Interface4 "/api/Avalonia.Controls/INativeMenuItemExporterEventsImplBridge"
Type["NativeMenuItem"]
class Type type-node
Syntax
public class NativeMenuItem : NativeMenuItemBase, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink, INativeMenuItemExporterEventsImplBridge
Constructors
Name | Summary |
---|---|
NativeMenuItem |
|
NativeMenuItem |
Events
Name | Type | Summary |
---|---|---|
Click | EventHandler |
Occurs when a
NativeMenuItem is clicked.
|
Clicked | EventHandler | |
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
Command |
Defines the
CommandParameter property.
static
|
|
CommandProperty |
static
|
|
GestureProperty |
static
|
|
HeaderProperty |
static
|
|
IconProperty |
static
|
|
IsCheckedProperty |
static
|
|
IsEnabledProperty |
static
|
|
MenuProperty |
static
|
|
ParentProperty |
Inherited from NativeMenuItemBase
static
|
|
ToggleTypeProperty |
static
|
Properties
Name | Value | Summary |
---|---|---|
Command | ICommand | |
CommandParameter | object |
Gets or sets the parameter to pass to the
Command property of a
NativeMenuItem .
|
Gesture | KeyGesture | |
HasClickHandlers | bool | |
Header | string | |
Icon | IBitmap | |
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
IsChecked | bool | |
IsEnabled | bool | |
Menu | NativeMenu | |
Parent | NativeMenu |
Inherited from NativeMenuItemBase
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|
ToggleType | Native |