共用方式為


IMenuBarItem Interface

Definition

Represents a top-level menu in a MenuBar view.

public interface class IMenuBarItem : Microsoft::Maui::IElement, System::Collections::Generic::ICollection<Microsoft::Maui::IMenuElement ^>, System::Collections::Generic::IEnumerable<Microsoft::Maui::IMenuElement ^>, System::Collections::Generic::IList<Microsoft::Maui::IMenuElement ^>
public interface IMenuBarItem : Microsoft.Maui.IElement, System.Collections.Generic.ICollection<Microsoft.Maui.IMenuElement>, System.Collections.Generic.IEnumerable<Microsoft.Maui.IMenuElement>, System.Collections.Generic.IList<Microsoft.Maui.IMenuElement>
type IMenuBarItem = interface
    interface IList<IMenuElement>
    interface ICollection<IMenuElement>
    interface seq<IMenuElement>
    interface IEnumerable
    interface IElement
Public Interface IMenuBarItem
Implements ICollection(Of IMenuElement), IElement, IEnumerable(Of IMenuElement), IList(Of IMenuElement)
Derived
Implements

Properties

Handler

Gets or sets the View Handler of the Element.

(Inherited from IElement)
IsEnabled

Gets a value indicating whether this View is enabled in the user interface.

Parent

Gets the Parent of the Element.

(Inherited from IElement)
Text

Extension Methods

ToHandler(IElement, IMauiContext)
ToPlatform(IElement, IMauiContext)

Applies to