'Declaration Public Function GetAvailableTableStyles( _ Optional ByVal includeHiddenStyles As Boolean, _ Optional ByVal filter As Func(Of TableStyle,Boolean,Boolean) _ ) As IEnumerable(Of TableStyle)
public IEnumerable<TableStyle> GetAvailableTableStyles( bool includeHiddenStyles, Func<TableStyle,bool,bool> filter )
Note: the first styles returned will be the ones that are already in the RootNode's Styles collection. These styles will be passed into the optional filter with a second parameter of true. Following these styles will by any additional unused styles in the AvailableStyles collection (with the second filter parameter set to false). Returning true from the filter will cause the style to be included in the returned enumerable, returning false will exclude the style. If no filter is supplied then all styles will be returned.
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
RichTextDocument Class
RichTextDocument Members
AvailableStyles Property
RootNode.Styles
DefaultAvailableStyles Property
GetAvailableCharacterStyles Method
GetAvailableListStyles Method
GetAvailableParagraphStyles Method
RichTextStyleBase.DisplayMode
RichTextStyleBase.SortPriority
RichTextStyleBase.UnhideWhenUsed