RichTextBox for UWP/WinRT
Foreground プロパティ (C1TextRange)

範囲内のランの前景を取得または設定します。
構文
'宣言
 
Public Property Foreground As Windows.UI.Xaml.Media.Brush
public Windows.UI.Xaml.Media.Brush Foreground {get; set;}
解説
範囲が空の場合にこのプロパティを設定すると、書き込むテキストの Foreground が変更され、このプロパティを取得すると、書き込むテキストの書式が返されます。選択範囲が空ではない場合にこのプロパティを取得すると、選択範囲の書式が返され、選択範囲の書式が混在している場合は null が返されます。
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

参照

関連項目

C1TextRange クラス
C1TextRange メンバ

Send Feedback