Represents the context for managing styles within the styles dialog.
Definition
Namespace:Telerik.Windows.Documents.UI.Extensibility
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ManageStylesDialogContext
Inheritance: objectManageStylesDialogContext
Constructors
public ManageStylesDialogContext(StyleCollection styleDefinitionCollection, Action createNewStyleDefinitionCallback, Action<StyleDefinition> editStyleDefinitionCallback, Action<StyleDefinition> deleteStyleDefinitionCallback, Action<string> changeDocumentElementStyleNameCallback, RadRichTextBox owner)
Properties
Represents a callback method that is invoked to change the style name of a document element.
public Action<string> ChangeDocumentElementStyleNameCallback { get; }
Creates a new style definition within the Manage Styles dialog context.
public Action CreateNewStyleDefinitionCallback { get; }
Represents a callback method to delete a style definition in the Manage Styles Dialog Context.
public Action<StyleDefinition> DeleteStyleDefinitionCallback { get; }
Represents a callback method invoked for editing a style definition in the Manage Styles dialog context.
public Action<StyleDefinition> EditStyleDefinitionCallback { get; }
Gets or sets the owner of the Manage Styles dialog context.
public RadRichTextBox Owner { get; }
The owner, represented as a reference to the object that owns the dialog context.
Represents a collection of style definitions used in the Manage Styles dialog context.
public StyleCollection StyleDefinitionCollection { get; }