IMenuBar Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a specialized container that presents a set of menus in a horizontal row, typically at the top of an app window.
public interface class IMenuBar : Microsoft::Maui::IElement, System::Collections::Generic::ICollection<Microsoft::Maui::IMenuBarItem ^>, System::Collections::Generic::IEnumerable<Microsoft::Maui::IMenuBarItem ^>, System::Collections::Generic::IList<Microsoft::Maui::IMenuBarItem ^>
public interface IMenuBar : Microsoft.Maui.IElement, System.Collections.Generic.ICollection<Microsoft.Maui.IMenuBarItem>, System.Collections.Generic.IEnumerable<Microsoft.Maui.IMenuBarItem>, System.Collections.Generic.IList<Microsoft.Maui.IMenuBarItem>
type IMenuBar = interface
interface IList<IMenuBarItem>
interface ICollection<IMenuBarItem>
interface seq<IMenuBarItem>
interface IEnumerable
interface IElement
Public Interface IMenuBar
Implements ICollection(Of IMenuBarItem), IElement, IEnumerable(Of IMenuBarItem), IList(Of IMenuBarItem)
- 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) |
Extension Methods
ToHandler(IElement, IMauiContext) | |
ToPlatform(IElement, IMauiContext) |
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk