Class
CommandDescriptorBase

Represents a wrapper for commands.

Definition

Namespace:Telerik.UI.Xaml.Controls.PdfViewer.Commands.Descriptors

Assembly:Telerik.WinUI.Controls.PdfViewer.dll

Syntax:

cs-api-definition
public abstract class CommandDescriptorBase : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseCommandDescriptorBase

Derived Classes: CommandDescriptorCompositeCommandDescriptor<T>

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

CommandDescriptorBase(bool)

Initializes a new instance of the CommandDescriptorBase class.

Declaration

cs-api-definition
public CommandDescriptorBase(bool isEnabled = true)

Parameters

isEnabled

bool

The is enabled.

Properties

Command

Gets the command.

Declaration

cs-api-definition
public abstract ICommand Command { get; }

Property Value

ICommand

The command.

IsEnabled

Gets or sets a value indicating the command descriptor is enabled.

Declaration

cs-api-definition
public bool IsEnabled { get; set; }

Property Value

bool

The is enabled.