Supplies the paragraph style, apply and tab-stop callbacks, and optional owner for a paragraph properties dialog.
Definition
Namespace:Telerik.WinForms.Documents.UI.Extensibility
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ParagraphPropertiesDialogContext
Inheritance: objectParagraphPropertiesDialogContext
Constructors
Initializes the paragraph style, callbacks, and rich text box that owns the dialog.
public ParagraphPropertiesDialogContext(StyleDefinition styleInfo, Action<StyleDefinition> applyPropCallback, Action showTabStopsPropertiesDialogCallback, RadRichTextBox owner)
The paragraph style used to populate the dialog.
applyPropCallbackAction<StyleDefinition>Applies the paragraph style produced by the dialog.
showTabStopsPropertiesDialogCallbackActionOpens the tab-stop properties dialog.
ownerRadRichTextBoxThe rich text box that owns the dialog.
Initializes the paragraph style and callbacks without an explicit dialog owner.
public ParagraphPropertiesDialogContext(StyleDefinition styleInfo, Action<StyleDefinition> applyPropCallback, Action showTabStopsPropertiesDialogCallback)
The paragraph style used to populate the dialog.
applyPropCallbackAction<StyleDefinition>Applies the paragraph style produced by the dialog.
showTabStopsPropertiesDialogCallbackActionOpens the tab-stop properties dialog.
Properties
Gets the callback that applies the paragraph style returned when the dialog is confirmed.
public Action<StyleDefinition> ApplyPropCallback { get; }
Gets the rich text box that owns the dialog, when provided by the WPF host.
public RadRichTextBox Owner { get; }
Gets the callback used to open the tab-stop properties dialog.
public Action ShowTabStopsPropertiesDialogCallback { get; }
Gets the paragraph style used to initialize the dialog's controls.
public StyleDefinition StyleInfo { get; }