Carries the creation mode and source style data used by ShowStyleFormattingPropertiesDialog(StyleFormattingPropertiesDialogSettings).
Definition
Namespace:Telerik.WinForms.Documents.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class StyleFormattingPropertiesDialogSettings
Inheritance: objectStyleFormattingPropertiesDialogSettings
Constructors
Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for creation of new style.
public StyleFormattingPropertiesDialogSettings(bool createNew)
The create new.
Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for editing of list style.
public StyleFormattingPropertiesDialogSettings(ListStyle listStyle)
The list style.
Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for editing of style definition.
public StyleFormattingPropertiesDialogSettings(StyleDefinition styleDefinition)
The style definition.
Initializes a new instance of the StyleFormattingPropertiesDialogSettings class. Use it for creation of new style with specific type.
public StyleFormattingPropertiesDialogSettings(StyleType styleType)
Type of the style.
Properties
Gets whether the dialog should create a new style rather than edit an existing one.
public bool CreateNew { get; }
Gets whether the settings target an existing list style.
public bool IsListStyle { get; }
Gets the existing list style to edit, or null when creating a style or editing a non-list style.
public ListStyle ListStyle { get; }
Gets the existing style definition to edit, or null when creating a style or editing a list style.
public StyleDefinition StyleDefinition { get; }