Version

AvailableStyles Property

A collection of the styles that are available to the document.
Syntax
'Declaration
 
Public Property AvailableStyles As RichTextStyleCollection
public RichTextStyleCollection AvailableStyles {get; set;}
Remarks

Note: This collection is created in the RichTextDocument's constructor. It is pre-populated with clones of all the styles in the static DefaultAvailableStyles collection. Both the static DefaultAvailableStyles collection as well as this instance AvailableStyles collection can be modified. However, changes to the static collection will have no effect on the AvailableStyles collection for existing RichTextDocuments.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also