Skip to main content

Style Editor Dialog

  • 2 minutes to read

The Edit Style dialog enables end-users to change the base style for the current style (to specify how the styles cascade), the style which should be used for the following paragraph, and basic characteristics of the style, such as Font, Paragraph and Tab Stops.


If right-to-left and East-Asian languages are installed on the machine, the dialog appears as follows:

dialog rtl

End-users can invoke the Modify Style dialog using the Styles group’s dialog box launcher on the Home ribbon tab. Refer to the Lesson 5 - Create Separate Ribbon Pages for a Rich Text Editor topic for details on how to provide the Ribbon UI for the RichEditControl. Executing the ShowEditStyleFormCommand command invokes this dialog as well.


Note that the Edit Style dialog does not allow you to create a new style. RichEditControl provides a set of methods to programmatically create a new style, and modify an existing style. Document styles are exposed via the CharacterStyle, the ParagraphStyle or the TableStyle interfaces. A document contains collections of styles, accessible via Document.CharacterStyles, Document.ParagraphStyles and Document.TableStyles properties. Use the CreateNew methods of style collections to create new styles. Then you can specify formatting using style properties and add style to a corresponding collection using the Add method. To learn more, refer to the Styles topic.

See Also