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:
public class TabStopsPropertiesDialogContext
Inheritance: objectTabStopsPropertiesDialogContext
Constructors
Initializes the context with the selected paragraphs' tab stops, update callback, document width, and owner.
public TabStopsPropertiesDialogContext(IEnumerable<TabStop> tabStopsList, Action<IEnumerable<TabStop>, IEnumerable<TabStop>, bool, double> replaceTabStops, double defaultTabWidth, RadRichTextBox owner)
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.
defaultTabWidthdoubleThe document's default tab width in document units.
ownerRadRichTextBoxThe rich text box that owns the dialog.
Properties
Gets the document's default tab width in document units.
public double DefaultTabWidth { get; }
Gets the rich text box that owns the dialog.
public RadRichTextBox Owner { get; }
ParagraphTabStopsList
IEnumerable<TabStop>
Gets the tab stops loaded from the paragraph selection; on WPF, only stops common to selected paragraphs are included.
public IEnumerable<TabStop> ParagraphTabStopsList { get; }
Gets the callback that applies the edited stops, removals, clear-all choice, and default width.
public Action<IEnumerable<TabStop>, IEnumerable<TabStop>, bool, double> ReplaceTabStopsAndDefaultTabWidth { get; }
StyleTabStopsList
IEnumerable<TabStop>
Gets optional style-supplied tab stops to display alongside paragraph tab stops.
public IEnumerable<TabStop> StyleTabStopsList { get; }