Table of Contents

Method CanExecute

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CanExecute(object?)

Returns whether the command can be executed.

public virtual bool CanExecute(object? parameter)

Parameters

parameter object

A parameter that may be used in executing the command. This parameter may be ignored by some implementations.

Returns

bool

true if the command can be executed with the given parameter and current state. false otherwise.