CardToolbarItemDelegateCommandT - конструктор |
Пространство имён:
Tessa.UI.Cards
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public CardToolbarItemDelegateCommand(
ICardToolbarItem toolbarItem,
Action<T> execute,
Func<T, bool> canExecute = null
)
Public Sub New (
toolbarItem As ICardToolbarItem,
execute As Action(Of T),
Optional canExecute As Func(Of T, Boolean) = Nothing
)
public:
CardToolbarItemDelegateCommand(
ICardToolbarItem^ toolbarItem,
Action<T>^ execute,
Func<T, bool>^ canExecute = nullptr
)
new :
toolbarItem : ICardToolbarItem *
execute : Action<'T> *
?canExecute : Func<'T, bool>
(* Defaults:
let _canExecute = defaultArg canExecute null
*)
-> CardToolbarItemDelegateCommand
Параметры
- toolbarItem
- Тип: Tessa.UI.CardsICardToolbarItem
- execute
- Тип: SystemActionT
- canExecute (Optional)
- Тип: SystemFuncT, Boolean
См. также