ClassCommandDescriptor
Represents class that describes RadSpreadsheetElement command.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Commands.Descriptors
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class CommandDescriptor : RadObject, INotifyPropertyChanged, ICustomTypeDescriptor, IDisposable
Inheritance: objectDisposableObjectRadObjectCommandDescriptor
Implements:
Inherited Members
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
SelectedValueProperty
Declaration
public static RadProperty SelectedValueProperty
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.
IsVisible
Gets or sets a value indicating whether any GUI for this command should be visible.
Declaration
public ElementVisibility IsVisible { get; set; }
Property Value
The value indicating whether the command descriptor should be visible in a GUI.
SelectedValue
Gets or sets the selected value.
Declaration
public object SelectedValue { get; set; }
Property Value
The selected value.
Methods
DisposeManagedResources()
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
Declaration
protected override void DisposeManagedResources()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing information about the property change.
Overrides