MenuItem
이 콘텐츠는 아직 번역되지 않았습니다.
Namespace NetWiv · Assembly NetWiv.Core
public class MenuItem : MenuItemBaseMethods
Section titled “Methods”IsEnabledAsync
Section titled “IsEnabledAsync”public Task<bool> IsEnabledAsync(CancellationToken cancellationToken = null);NewAsync
Section titled “NewAsync”public static Task<MenuItem> NewAsync(AppHandle app, MenuItemOptions options, Channel<string> handler = null, CancellationToken cancellationToken = null);SetAcceleratorAsync
Section titled “SetAcceleratorAsync”public Task SetAcceleratorAsync(string accelerator, CancellationToken cancellationToken = null);SetEnabledAsync
Section titled “SetEnabledAsync”public Task SetEnabledAsync(bool enabled, CancellationToken cancellationToken = null);SetTextAsync
Section titled “SetTextAsync”public Task SetTextAsync(string text, CancellationToken cancellationToken = null);TextAsync
Section titled “TextAsync”public Task<string> TextAsync(CancellationToken cancellationToken = null);