Version

DefaultAvailableStyles Property

A static collection of styles used to pre-populate each RichTextDocument's AvailableStyles collection.
Syntax
'Declaration
 
Public Shared ReadOnly Property DefaultAvailableStyles As RichTextStyleCollection
public static RichTextStyleCollection DefaultAvailableStyles {get;}
Remarks

Note: This collection is used in the RichTextDocument's constructor to pre-populate its AvailableStyles collection with clones of all the styles from this collection. Both this static DefaultAvailableStyles collection as well as the 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