New to Telerik UI for WPFStart a free 30-day trial

Represents the context for the Set Numbering Value dialog in the Telerik UI framework. This context is used to manage the settings associated with numbering in documents.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class SetNumberingValueDialogContext

Inheritance: objectSetNumberingValueDialogContext

Constructors

C#
public SetNumberingValueDialogContext(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

Properties

Represents the RadRichTextBox used in the SetNumberingValueDialogContext.

C#
public RadRichTextBox RadRichTextBox { get; }

Methods

Advances the numbering value by the specified increment and sets the new value.

C#
public void AdvanceValue(int previousParagraphNumber, int fromNumber)
Parameters:previousParagraphNumberint

The current numbering value to be advanced.

fromNumberint

The amount by which to advance the current value.

Initializes a new numbered list in the Set Numbering Value dialog context.

C#
public void StartNewList(int fromNumber)
Parameters:fromNumberint

The starting value for the new list.