New to Telerik UI for WinForms? Start a free 30-day trial

Supplies the tab-stop data, default width, and update callback used by a tab-stop properties dialog.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class TabStopsPropertiesDialogContext

Inheritance: objectTabStopsPropertiesDialogContext

Constructors

Initializes the context with the selected paragraphs' tab stops, update callback, document width, and owner.

C#
public TabStopsPropertiesDialogContext(IEnumerable<TabStop> tabStopsList, Action<IEnumerable<TabStop>, IEnumerable<TabStop>, bool, double> replaceTabStops, double defaultTabWidth, RadRichTextBox owner)
Parameters:tabStopsListIEnumerable<TabStop>

Tab stops defined by the selected paragraphs.

replaceTabStopsAction<IEnumerable<TabStop>, IEnumerable<TabStop>, bool, double>

Applies added and removed stops, the clear-all choice, and the new default width.

defaultTabWidthdouble

The document's default tab width in document units.

ownerRadRichTextBox

The rich text box that owns the dialog.

Properties

Gets the document's default tab width in document units.

C#
public double DefaultTabWidth { get; }

Gets the rich text box that owns the dialog.

C#
public RadRichTextBox Owner { get; }

Gets the tab stops loaded from the paragraph selection; on WPF, only stops common to selected paragraphs are included.

C#
public IEnumerable<TabStop> ParagraphTabStopsList { get; }

Gets the callback that applies the edited stops, removals, clear-all choice, and default width.

C#
public Action<IEnumerable<TabStop>, IEnumerable<TabStop>, bool, double> ReplaceTabStopsAndDefaultTabWidth { get; }

Gets optional style-supplied tab stops to display alongside paragraph tab stops.

C#
public IEnumerable<TabStop> StyleTabStopsList { get; }