Submenu
Namespace NetWiv · Assembly NetWiv.Core
public sealed class Submenu : MenuItemMethods
Section titled “Methods”AppendAsync
Section titled “AppendAsync”public Task AppendAsync(IReadOnlyList<MenuItemBase> items, CancellationToken cancellationToken = null);InsertAsync
Section titled “InsertAsync”public Task InsertAsync(IReadOnlyList<MenuItemBase> items, uint position, CancellationToken cancellationToken = null);ItemsAsync
Section titled “ItemsAsync”public Task<IReadOnlyList<MenuItemBase>> ItemsAsync(CancellationToken cancellationToken = null);NewAsync
Section titled “NewAsync”public static Task<Submenu> NewAsync(AppHandle app, SubmenuOptions options, Channel<string> handler = null, CancellationToken cancellationToken = null);PopupAsync
Section titled “PopupAsync”public Task PopupAsync(IDpiPosition at = null, Window window = null, CancellationToken cancellationToken = null);PrependAsync
Section titled “PrependAsync”public Task PrependAsync(IReadOnlyList<MenuItemBase> items, CancellationToken cancellationToken = null);SetIconAsync
Section titled “SetIconAsync”public Task SetIconAsync(MenuIcon icon, CancellationToken cancellationToken = null);