ViewModelBase.CreateCommandHelper<T>.CreateCommand(Object, MethodInfo, MethodInfo, Nullable<Boolean>, Boolean) Method

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.1.dll

Declaration

public static IDelegateCommand CreateCommand(
    object owner,
    MethodInfo method,
    MethodInfo canExecuteMethod,
    bool? useCommandManager,
    bool hasParameter
)
Public Shared Function CreateCommand(
    owner As Object,
    method As MethodInfo,
    canExecuteMethod As MethodInfo,
    useCommandManager As Boolean?,
    hasParameter As Boolean
) As IDelegateCommand

Parameters

Name Type
owner Object
method MethodInfo
canExecuteMethod MethodInfo
useCommandManager Nullable<Boolean>
hasParameter Boolean

Returns

Type
DevExpress.Mvvm.Native.IDelegateCommand
See Also