Class CommandDescriptorBase
Represents a wrapper for commands.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Commands.Descriptors
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public abstract class CommandDescriptorBase : INotifyPropertyChanged
Constructors
CommandDescriptorBase(Boolean)
Initializes a new instance of the CommandDescriptorBase class.
Declaration
public CommandDescriptorBase(bool isEnabled = true)
Parameters
System.Boolean
isEnabled
The is enabled. |
Properties
Command
Gets the command.
Declaration
public abstract ICommand Command { get; }
Property Value
System.Windows.Input.ICommand
The command. |
IsEnabled
Gets or sets a value indicating the command descriptor is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
System.Boolean
The is enabled. |
Methods
OnPropertyChanged(String)
Called when [property changed].
Declaration
protected void OnPropertyChanged(string name)
Parameters
System.String
name
The name. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|