ClassFontPropertiesDialogContext
Represents the context for the Font Properties dialog in the Telerik UI framework. This class provides access to various settings and options related to font customization.
Definition
Namespace:Telerik.Windows.Documents.UI.Extensibility
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class FontPropertiesDialogContext
Inheritance: objectFontPropertiesDialogContext
Constructors
FontPropertiesDialogContext(Action<StyleDefinition>, StyleDefinition, RadRichTextBox)
Declaration
public FontPropertiesDialogContext(Action<StyleDefinition> applyStyle, StyleDefinition defaultStyle, RadRichTextBox owner)
Parameters
applyStyle
defaultStyle
owner
Properties
ApplyStyle
A callback that is used to apply the style filled in the UI.
Declaration
public Action<StyleDefinition> ApplyStyle { get; }
Property Value
The apply style.
CurrentEditingStyle
Gets the current editing style. Provided for backward compatibility.
Declaration
public StyleDefinition CurrentEditingStyle { get; }
Property Value
The current editing style.
DefaultStyle
Gets or sets the default style which will be used to fill in the dialog on Reset All
Declaration
public StyleDefinition DefaultStyle { get; }
Property Value
The default style.
Owner
The owner RadRichTextBox used to set the owner of the RadWindow and to extract the current style.
Declaration
public RadRichTextBox Owner { get; }
Property Value
The owner.