'Declaration Public Class RichTextStyleCollection Inherits Infragistics.Documents.RichText.RichTextObjectKeyedCollectionBase(Of RichTextStyleBase)
public class RichTextStyleCollection : Infragistics.Documents.RichText.RichTextObjectKeyedCollectionBase<RichTextStyleBase>
Content within a document, such as a paragraph, can have styling applied to it via settings properties exposed by the node representing the content (such as ParagraphNode.Settings). You can also define document wide styles which then can be applied to one or more content nodes in the document via the node's style id property (for example, ParagraphNode.StyleId). RichTextStyleCollection exposed via DocumentRootNode.Styles let's you specify one or more such styles. Each style added to the RichTextStyleCollection is associated with a unique id (a string value specified via RichTextStyleBase.Id property) that is used to associate the style with a node via the node's StyleId property.
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