ComponentOne Studio for WinRT XAML
Foreground プロパティ (C1TextRange)

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

C1TextRange クラス
C1TextRange メンバ

 

 


Copyright © GrapeCity inc. All rights reserved.