Class FontPropertiesDialogContext
Inheritance
Namespace: Telerik.Windows.Documents.UI.Extensibility
Assembly: Telerik.Windows.Documents.dll
Syntax
public class FontPropertiesDialogContext : Object
Constructors
FontPropertiesDialogContext(Action<StyleDefinition>, StyleDefinition, RadRichTextBox)
Declaration
public FontPropertiesDialogContext(Action<StyleDefinition> applyStyle, StyleDefinition defaultStyle, RadRichTextBox owner)
Parameters
System.Action<StyleDefinition>
applyStyle
|
StyleDefinition
defaultStyle
|
RadRichTextBox
owner
|
Properties
ApplyStyle
A callback that is used to apply the style filled in the UI.
Declaration
public Action<StyleDefinition> ApplyStyle { get; }
Property Value
System.Action<StyleDefinition>
The apply style. |
CurrentEditingStyle
Gets the current editing style. Provided for backward compatibility.
Declaration
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
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
public RadRichTextBox Owner { get; }
Property Value
RadRichTextBox
The owner. |