New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FontPropertiesDialogContext

Inheritance: objectFontPropertiesDialogContext

Constructors

C#
public FontPropertiesDialogContext(Action<StyleDefinition> applyStyle, StyleDefinition defaultStyle, RadRichTextBox owner)
Parameters:applyStyleAction<StyleDefinition>defaultStyleStyleDefinitionownerRadRichTextBox

Properties

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

C#
public Action<StyleDefinition> ApplyStyle { get; }
Property Value:

The apply style.

Gets the current editing style. Provided for backward compatibility.

C#
public StyleDefinition CurrentEditingStyle { get; }
Property Value:

The current editing style.

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

C#
public StyleDefinition DefaultStyle { get; }
Property Value:

The default style.

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

C#
public RadRichTextBox Owner { get; }
Property Value:

The owner.