RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

RelayCommand..::..CanExecute Method

Defines the method that determines whether the command can execute in its current state.

Namespace:  RingSoft.DataEntryControls.Engine
Assembly:  RingSoft.DataEntryControls.Engine (in RingSoft.DataEntryControls.Engine.dll)

Syntax


public bool CanExecute(
	Object parameter
)
Public Function CanExecute ( _
	parameter As Object _
) As Boolean
public:
bool^ CanExecute(
	Object^ parameter
)

Parameters

parameter
Type: Object
Data used by the command. If the command does not require data to be passed, this object can be set to nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

trueTruetruetrue (True in Visual Basic) if this command can be executed; otherwise, falseFalsefalsefalse (False in Visual Basic).