Provides command availability and caret-based lookup for commands that operate on a field range start. Availability requires a field of the specified type at the caret and an empty selection.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Type Parameters:
T
The field range start type the command locates.
Syntax:
public abstract class FieldRangeStartBaseCommandBase<T> : RichTextBoxCommandBase, ICommand where T : FieldRangeStartBase
Inheritance: objectRichTextBoxCommandBaseFieldRangeStartBaseCommandBase<T>
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes the base command and tracks caret and selection changes that affect field availability.
protected FieldRangeStartBaseCommandBase(RadRichTextBox editor)
The editor whose caret and selection determine command availability.
Methods
Returns the availability cached from the current caret and selection context.
Gets the innermost matching field range containing the inline at the caret.
protected T GetCurrentInnerFieldRangeStart()
T
The innermost matching field range start, or null when no inline or matching field is found.
Gets the outermost matching field range containing the inline at the caret.
protected T GetCurrentOuterFieldRangeStart()
T
The outermost matching field range start, or null when no inline or matching field is found.