Provides the editor and operations used to restart or advance list numbering.
Definition
Namespace:Telerik.WinForms.Documents.UI.Extensibility
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class SetNumberingValueDialogContext
Inheritance: objectSetNumberingValueDialogContext
Constructors
Captures the editor and creates a document editor for applying list-numbering changes.
public SetNumberingValueDialogContext(RadRichTextBox radRichTextBox)
The editor whose list numbering is changed.
Properties
Gets the rich text box whose current list numbering is being changed.
public RadRichTextBox RadRichTextBox { get; }
Methods
Advances list numbering by the number of items between the previous number and the requested number.
Restarts numbering from the caret paragraph, or from the first selected paragraph when a selection exists.
Starting indexes are applied to the caret paragraph's list, using values based on the restart paragraph's list level:
that level is set to fromNumber and lower levels reset to one.
public void StartNewList(int fromNumber)
The number at which the restarted list begins.