ContextMenuHelperOnLeftClickAsync - метод |
Пространство имён:
Tessa.UI.Controls
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public static ValueTask OnLeftClickAsync(
IContextMenuProvider provider,
Dispatcher dispatcher,
CancellationToken cancellationToken = default
)
Public Shared Function OnLeftClickAsync (
provider As IContextMenuProvider,
dispatcher As Dispatcher,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
static ValueTask OnLeftClickAsync(
IContextMenuProvider^ provider,
Dispatcher^ dispatcher,
CancellationToken cancellationToken = CancellationToken()
)
static member OnLeftClickAsync :
provider : IContextMenuProvider *
dispatcher : Dispatcher *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
Параметры
- provider
- Тип: Tessa.UI.MenuIContextMenuProvider
- dispatcher
- Тип: System.Windows.ThreadingDispatcher
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskСм. также