Provides selection-driven availability for commands that require a non-empty document selection.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public abstract class SelectionEnabledCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseSelectionEnabledCommand
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes selection tracking for the specified editor.
C#
public SelectionEnabledCommand(RadRichTextBox editor)
The editor whose selection determines whether the command can execute.
Methods
Returns whether the associated editor currently has a non-empty selection.