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 StyleFormattingPropertiesDialogContext

Inheritance: objectStyleFormattingPropertiesDialogContext

Constructors

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

C#
public StyleFormattingPropertiesDialogContext(string dialogTitle, ListStyle realListStyle, RadRichTextBox owner)
Parameters:dialogTitlestring

The dialog title.

realListStyleListStyle

The real list style.

ownerRadRichTextBox

The owner.

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

C#
public StyleFormattingPropertiesDialogContext(string dialogTitle, RadRichTextBox owner)
Parameters:dialogTitlestring

The dialog title.

ownerRadRichTextBox

The owner.

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

C#
public StyleFormattingPropertiesDialogContext(string dialogTitle, StyleDefinition realStyleDefinition, RadRichTextBox owner)
Parameters:dialogTitlestring

The dialog title.

realStyleDefinitionStyleDefinition

The real style definition.

ownerRadRichTextBox

The owner.

Initializes a new instance of the StyleFormattingPropertiesDialogContext class. Use it for creation of new style with specified type.

C#
public StyleFormattingPropertiesDialogContext(string dialogTitle, StyleType styleType, RadRichTextBox owner)
Parameters:dialogTitlestring

The dialog title.

styleTypeStyleType

Type of the style.

ownerRadRichTextBox

The owner.

Properties

C#
public string DialogTitle { get; }
C#
public RadDocument Document { get; }
C#
public RadRichTextBox Owner { get; }
C#
public ListStyle RealListStyle { get; }
C#
public StyleDefinition RealStyleDefinition { get; }
C#
public StyleCollection StyleCollection { get; }
C#
public StyleType StyleType { get; }

Methods

C#
public virtual void AddListStyle(ListStyle listStyle)
Parameters:listStyleListStyle
C#
public virtual void AddStyleDefinition(StyleDefinition style)
Parameters:styleStyleDefinition
C#
public virtual void EditListStyle(ListStyle listStyle)
Parameters:listStyleListStyle
C#
public virtual void EditStyleDefinition(StyleDefinition style)
Parameters:styleStyleDefinition
C#
public virtual StyleDefinition GetCharacterStyle()
Returns:

StyleDefinition

C#
public virtual StyleDefinition GetLinkedStyle()
Returns:

StyleDefinition

C#
public virtual ListStyle GetListStyle()
Returns:

ListStyle

C#
public virtual StyleDefinition GetParagraphStyle()
Returns:

StyleDefinition

C#
public virtual Action<Action<char, FontFamily>, FontFamily, RadRichTextBox> GetShowInsertSymbolDialogAction()
Returns:

Action<Action<char, FontFamily>, FontFamily, RadRichTextBox>

C#
public virtual StyleDefinition GetStyle(StyleType styleType)
Parameters:styleTypeStyleTypeReturns:

StyleDefinition

C#
public virtual StyleDefinition GetTableStyle()
Returns:

StyleDefinition