Click or drag to resize

RelayCommand(ActionObject, FuncBoolean) Konstruktor

Konstruktor - übernimmt eine auszuführende Action und eine Check-Routine für die (De-)Aktivierung der Action.

Namensraum: NetEti.MVVMini
Assembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+faf3aa8dcc38bbe36a3c92b1a9f73c75fc662c99
Syntax
public RelayCommand(
	Action<Object?> execute,
	Func<bool>? canExecute
)

Parameter

execute  ActionObject
Eine durch das Kommando auszuführende Action.
canExecute  FuncBoolean
Eind Prüfroutine, die zur (De-)Aktivierung des Kommandos führt.
Siehe auch