Table of Contents

Class PlaceholderCommand

Namespace
Tudormobile.Wpf.Commands
Assembly
Tudormobile.WpfControls.dll

This is placeholder command.

public class PlaceholderCommand : ICommand
Inheritance
PlaceholderCommand
Implements
Inherited Members

Methods

CanExecute(object?)

Determines whether the command can execute in its current state.

public bool CanExecute(object? parameter)

Parameters

parameter object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns

bool

true if this command can be executed; otherwise, false.

Execute(object?)

Defines the method to be called when the command is invoked.

public void Execute(object? parameter)

Parameters

parameter object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

OnCanExecuteChanged()

Raises the CanExecuteChanged event.

protected virtual void OnCanExecuteChanged()

Exceptions

NotImplementedException

Always raises this exception as this is only a placeholder.

Events

CanExecuteChanged

Occurs when changes take place that affect whether or not the command should execute.

public event EventHandler? CanExecuteChanged

Event Type

EventHandler