Class ParagraphPropertiesDialogContext
Represents the context for the paragraph properties dialog within the Telerik UI framework. This class encapsulates the properties and behaviors related to configuring and modifying paragraph settings.
Inheritance
Namespace: Telerik.Windows.Documents.UI.Extensibility
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ParagraphPropertiesDialogContext : Object
Remarks
The ParagraphPropertiesDialogContext
is utilized in the context of creating and applying paragraph styles,
enabling developers to customize text alignment, indentation, spacing, and other paragraph properties.
Constructors
ParagraphPropertiesDialogContext(StyleDefinition, Action<StyleDefinition>, Action)
Declaration
public ParagraphPropertiesDialogContext(StyleDefinition styleInfo, Action<StyleDefinition> applyPropCallback, Action showTabStopsPropertiesDialogCallback)
Parameters
StyleDefinition
styleInfo
|
System.Action<StyleDefinition>
applyPropCallback
|
System.Action
showTabStopsPropertiesDialogCallback
|
ParagraphPropertiesDialogContext(StyleDefinition, Action<StyleDefinition>, Action, RadRichTextBox)
Declaration
public ParagraphPropertiesDialogContext(StyleDefinition styleInfo, Action<StyleDefinition> applyPropCallback, Action showTabStopsPropertiesDialogCallback, RadRichTextBox owner)
Parameters
StyleDefinition
styleInfo
|
System.Action<StyleDefinition>
applyPropCallback
|
System.Action
showTabStopsPropertiesDialogCallback
|
RadRichTextBox
owner
|
Properties
ApplyPropCallback
Applies the specified property changes to the paragraph properties dialog context.
Declaration
public Action<StyleDefinition> ApplyPropCallback { get; }
Property Value
System.Action<StyleDefinition>
|
Owner
Gets the owner of the ParagraphPropertiesDialogContext.
Declaration
public RadRichTextBox Owner { get; }
Property Value
RadRichTextBox
|
ShowTabStopsPropertiesDialogCallback
Displays a dialog for configuring tab stops properties.
Declaration
public Action ShowTabStopsPropertiesDialogCallback { get; }
Property Value
System.Action
|
StyleInfo
Represents the style information for a paragraph in the Paragraph Properties Dialog context.
Declaration
public StyleDefinition StyleInfo { get; }
Property Value
StyleDefinition
|