Documentation de Dvp.Net. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/
Assembly: Developpez.Dotnet.Windows (in Developpez.Dotnet.Windows.dll) Version: 1.0.0.0 (1.0.0.0)
[Ceci est une documentation préliminaire, sous réserve de modification.]
Initialise une nouvelle instance de DelegateCommand<T>, avec les méthodes spécifiées pour Execute et CanExecute, en indiquant
s'il faut désactiver le mécanisme de revérification automatique de la capacité d'exécution de la commande
Namespace:
Developpez.Dotnet.Windows.InputAssembly: Developpez.Dotnet.Windows (in Developpez.Dotnet.Windows.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public DelegateCommand( Action<T> executeMethod, Func<T, bool> canExecuteMethod, bool isAutomaticRequeryDisabled ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ executeMethod As Action(Of T), _ canExecuteMethod As Func(Of T, Boolean), _ isAutomaticRequeryDisabled As Boolean _ ) |
Visual C++ |
---|
public: DelegateCommand( Action<T>^ executeMethod, Func<T, bool>^ canExecuteMethod, bool isAutomaticRequeryDisabled ) |
Parameters
- executeMethod
- Type: System..::.Action<(Of <(T>)>)
[Missing <param name="executeMethod"/> documentation for "M:Developpez.Dotnet.Windows.Input.DelegateCommand`1.#ctor(System.Action{`0},System.Func{`0,System.Boolean},System.Boolean)"]
- canExecuteMethod
- Type: System..::.Func<(Of <(T, Boolean>)>)
[Missing <param name="canExecuteMethod"/> documentation for "M:Developpez.Dotnet.Windows.Input.DelegateCommand`1.#ctor(System.Action{`0},System.Func{`0,System.Boolean},System.Boolean)"]
- isAutomaticRequeryDisabled
- Type: System..::.Boolean
[Missing <param name="isAutomaticRequeryDisabled"/> documentation for "M:Developpez.Dotnet.Windows.Input.DelegateCommand`1.#ctor(System.Action{`0},System.Func{`0,System.Boolean},System.Boolean)"]