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
public static RadProperty IsEnabledProperty
public static RadProperty IsVisibleProperty
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
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
protected override void DisposeManagedResources()
Overrides:
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs containing information about the property change.
Overrides: