ClassCommandDescriptor
Represents class that describes RadSpreadsheet command.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Commands.Descriptors
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CommandDescriptor : NotifyPropertyChangedBase, IDisposable
Inheritance: objectCommandDescriptor
Implements:
Constructors
CommandDescriptor(ICommand, bool, object)
Initializes a new instance of the CommandDescriptor class.
Fields
Default
Gets the default CommandDescriptor.
Declaration
public static readonly CommandDescriptor Default
Field Value
DefaultBool
Gets the default CommandDescriptor for commands which selected value is .
Declaration
public static readonly CommandDescriptor DefaultBool
Field Value
DefaultColor
Gets the default CommandDescriptor for commands which selected value is Color.
Declaration
public static readonly CommandDescriptor DefaultColor
Field Value
DefaultDouble
Gets the default CommandDescriptor for commands which selected value is .
Declaration
public static readonly CommandDescriptor DefaultDouble
Field Value
DefaultInt
Gets the default CommandDescriptor for commands which selected value is .
Declaration
public static readonly CommandDescriptor DefaultInt
Field Value
Properties
Command
Gets the command.
IsEnabled
Gets or sets a value indicating whether the command descriptor is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
The value indicating whether the command descriptor is enabled.
SelectedValue
Gets or sets the selected value.
Declaration
public object SelectedValue { get; set; }
Property Value
The selected value.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool cleanUpManagedResources)
Parameters
cleanUpManagedResources
True if want to clean the managed resources.