DPB1Class · Utilities and settings

RelayCommand

Provides relay command data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common.MVVM

public class RelayCommandView DPB2 version →

Members and overloads

5 results

CanExecuteChanged

EventLink ↗
public EventHandler RelayCommand.CanExecuteChanged

Raised for can execute changed. Subscribe with the callback type shown in the signature.

RelayCommand

MethodLink ↗
public RelayCommand.RelayCommand(Action<object> execute)

Creates a new RelayCommand instance using the supplied arguments.

executeAction<object>
Specifies execute.

RelayCommand

MethodLink ↗
public RelayCommand.RelayCommand(Action<object> execute, Predicate<object> canExecute)

Creates a new RelayCommand instance using the supplied arguments.

executeAction<object>
Specifies execute.
canExecutePredicate<object>
Specifies can execute.

CanExecute

MethodLink ↗
public bool RelayCommand.CanExecute(object parameter)

Checks whether it can execute using the supplied arguments.

parameterobject
Specifies parameter.

Returns: A Boolean result. The member description explains the condition being checked.

Execute

MethodLink ↗
public void RelayCommand.Execute(object parameter)

Executes the execute operation with the supplied arguments.

parameterobject
Specifies parameter.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.