CommandDescriptor
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
Initializes a new instance of the CommandDescriptor class.
Fields
Gets the default CommandDescriptor.
public static readonly CommandDescriptor Default
Gets the default CommandDescriptor for commands which selected value is .
public static readonly CommandDescriptor DefaultBool
Gets the default CommandDescriptor for commands which selected value is Color.
public static readonly CommandDescriptor DefaultColor
Gets the default CommandDescriptor for commands which selected value is .
public static readonly CommandDescriptor DefaultDouble
Gets the default CommandDescriptor for commands which selected value is .
public static readonly CommandDescriptor DefaultInt
Identifies the visibility state used to show or collapse a command descriptor in its UI.
public static RadProperty IsVisibleProperty
Identifies SelectedValue, the current value associated with the command.
public static RadProperty SelectedValueProperty
Properties
Gets or sets a value indicating whether the command descriptor is enabled.
public bool IsEnabled { get; set; }
The value indicating whether the command descriptor is enabled.
Gets or sets a value indicating whether any GUI for this command should be visible.
public ElementVisibility IsVisible { get; set; }
The value indicating whether the command descriptor should be visible in a GUI.
Gets or sets the selected value.
public object SelectedValue { get; set; }
The selected value.
Methods
Stops and disposes the delayed state update used by this descriptor.
protected override void DisposeManagedResources()
Overrides:
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Details of the property change.
Overrides: