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

範囲内のランのフォントスタイルを取得または設定します。
構文
'宣言
 
Public Property FontStyle As System.Nullable(Of FontStyle)
public System.Nullable<FontStyle> FontStyle {get; set;}
解説
範囲が空の場合にこのプロパティを設定すると、書き込むテキストの FontStyle が変更され、このプロパティを取得すると、書き込むテキストの書式が返されます。選択範囲が空ではない場合にこのプロパティを取得すると、選択範囲の書式が返され、選択範囲の書式が混在している場合は 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