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 RelayCommand
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

RelayCommand

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

Creates a new RelayCommand instance using the supplied arguments.

Parameters

execute
Parameter type: Action<object>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies execute.

canExecute
Parameter type: Predicate<object>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies can execute.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

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