| File: Handlers\MenuBarItem\IMenuBarItemHandler.cs | Web Access |
| Project: src\src\Core\src\Core.csproj (Microsoft.Maui) |
#if IOS || MACCATALYST using PlatformView = UIKit.UIMenu; #elif MONOANDROID using PlatformView = Android.Views.View; #elif WINDOWS using PlatformView = Microsoft.UI.Xaml.Controls.MenuBarItem; #elif TIZEN using PlatformView = Tizen.NUI.BaseComponents.View; #elif (NETSTANDARD || !PLATFORM) || (NET6_0_OR_GREATER && !IOS && !ANDROID && !TIZEN) using PlatformView = System.Object; #endif namespace Microsoft.Maui.Handlers { public interface IMenuBarItemHandler : IElementHandler { void Add(IMenuElement view); void Remove(IMenuElement view); void Clear(); void Insert(int index, IMenuElement view); new PlatformView PlatformView { get; } new IMenuBarItem VirtualView { get; } } }