MenuFlyoutItem
Namespace: FluentAvalonia.UI.Controls
Represents a command in a FluentAvalonia.UI.Controls.FAMenuFlyout control.
C#
public class MenuFlyoutItem : MenuFlyoutItemBase
Xaml
<ui:MenuFlyoutItem />
Required Template Parts
None :)
Pseudoclasses
:hotkey, :pressed, :disabled, :focus, :focus-visible, :focus-within, :pointerover
Examples and Usage Notes
None yet.
API
Note: Inherited members are not shown
Properties
| Command | Gets or sets the command to invoke when the item is pressed. |
| CommandParameter | Gets or sets the parameter to pass to the `FluentAvalonia.UI.Controls.MenuFlyoutItem.Command` property. |
| CommandParameterProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.CommandParameter` property |
| CommandProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.Command` property |
| HotKey | Gets or sets the KeyGesture that should invoke this MenuFlyoutItem |
| HotKeyProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.HotKey` property |
| IconSource | Gets or sets the graphic content of the menu flyout item. |
| IconSourceProperty | Defines the `Icon` property |
| InputGesture | Gets or sets the input gesture displayed by the MenuFlyoutItem |
| InputGestureProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.InputGesture` property |
| TemplateSettings | Gets the template settings for this MenuFlyoutItem |
| TemplateSettingsProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.TemplateSettings` property |
| Text | Gets or sets the text content of a MenuFlyoutItem. |
| TextProperty | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.Text` property |
Events
| Click | Raised when this MenuFlyoutItem is invoked |
| ClickEvent | Defines the `FluentAvalonia.UI.Controls.MenuFlyoutItem.Click` event |
Methods