Partilhar via


DelegateCommandBase Class

Definition

public ref class DelegateCommandBase
public class DelegateCommandBase
type DelegateCommandBase = class
Public Class DelegateCommandBase
Inheritance
DelegateCommandBase
Derived

Constructors

DelegateCommandBase(JoinableTaskFactory)

Initializes a new instance of the DelegateCommandBase class.

Methods

CanExecuteDependsOn(INotifyPropertyChanged, String)

Adds a property upon which this command's CanExecute state depends. When the property changes, this command will raise CanExecuteChanged

RaiseCanExecuteChanged()

Raises the CanExecuteChanged event.

Events

CanExecuteChanged

An event that is fired when the executable state of this command changes. Call RaiseCanExecuteChanged to force listeners to update.

Applies to