New to Telerik UI for WinForms? Start a free 30-day trial

Carries the creation mode and source style data used by ShowStyleFormattingPropertiesDialog(StyleFormattingPropertiesDialogSettings).

Definition

Namespace:Telerik.WinForms.Documents.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class StyleFormattingPropertiesDialogSettings

Inheritance: objectStyleFormattingPropertiesDialogSettings

Constructors

Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for creation of new style.

C#
public StyleFormattingPropertiesDialogSettings(bool createNew)
Parameters:createNewbool

The create new.

Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for editing of list style.

C#
public StyleFormattingPropertiesDialogSettings(ListStyle listStyle)
Parameters:listStyleListStyle

The list style.

Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for editing of style definition.

C#
public StyleFormattingPropertiesDialogSettings(StyleDefinition styleDefinition)
Parameters:styleDefinitionStyleDefinition

The style definition.

Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for creation of new style with specific type.

C#
public StyleFormattingPropertiesDialogSettings(StyleType styleType)
Parameters:styleTypeStyleType

Type of the style.

Properties

Gets whether the dialog should create a new style rather than edit an existing one.

C#
public bool CreateNew { get; }

Gets whether the settings target an existing list style.

C#
public bool IsListStyle { get; }

Gets the existing list style to edit, or null when creating a style or editing a non-list style.

C#
public ListStyle ListStyle { get; }

Gets the existing style definition to edit, or null when creating a style or editing a list style.

C#
public StyleDefinition StyleDefinition { get; }

Gets the requested type for a new style. Unknown leaves the style type to be selected in the dialog.

C#
public StyleType StyleType { get; }