RichTextBox for UWP/WinRT
GetStyles メソッド (IStyleOverride)

C1.Xaml.RichTextBox.Documents.C1TextRange パラメータ内のテキストに適用する C1RangeStyle オブジェクトのコレクションを返します。
構文
'宣言
 
Function GetStyles( _
   ByVal range As C1TextRange _
) As System.Collections.Generic.IEnumerable(Of C1RangeStyle)
System.Collections.Generic.IEnumerable<C1RangeStyle> GetStyles( 
   C1TextRange range
)

パラメータ

range
解説
返された C1RangeStyle のコレクションに含まれるテキスト範囲どうしは重なることができず、また順序どおりに格納されている必要があります。つまり、あるテキスト範囲の C1.Xaml.RichTextBox.Documents.C1TextRange.End は、次の範囲の C1.Xaml.RichTextBox.Documents.C1TextRange.Start 以下でなければなりません。
Requirements

Target Platforms: Windows 7, 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

参照

関連項目

IStyleOverride インターフェース
IStyleOverride メンバ

Send Feedback