Class
FontPropertiesDialogContext

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:

cs-api-definition
public class FontPropertiesDialogContext

Inheritance: objectFontPropertiesDialogContext

Constructors

FontPropertiesDialogContext(Action<StyleDefinition>, StyleDefinition, RadRichTextBox)

Declaration

cs-api-definition
public FontPropertiesDialogContext(Action<StyleDefinition> applyStyle, StyleDefinition defaultStyle, RadRichTextBox owner)

Parameters

applyStyle

Action<StyleDefinition>

defaultStyle

StyleDefinition

owner

RadRichTextBox

Properties

ApplyStyle

A callback that is used to apply the style filled in the UI.

Declaration

cs-api-definition
public Action<StyleDefinition> ApplyStyle { get; }

Property Value

Action<StyleDefinition>

The apply style.

CurrentEditingStyle

Gets the current editing style. Provided for backward compatibility.

Declaration

cs-api-definition
public StyleDefinition CurrentEditingStyle { get; }

Property Value

StyleDefinition

The current editing style.

DefaultStyle

Gets or sets the default style which will be used to fill in the dialog on Reset All

Declaration

cs-api-definition
public StyleDefinition DefaultStyle { get; }

Property Value

StyleDefinition

The default style.

Owner

The owner RadRichTextBox used to set the owner of the RadWindow and to extract the current style.

Declaration

cs-api-definition
public RadRichTextBox Owner { get; }

Property Value

RadRichTextBox

The owner.