Typeface.Style Typeface.Style Typeface.Style Typeface.Style Property

定義

Typeface のスタイルを取得します。Gets the style of the Typeface.

public:
 property System::Windows::FontStyle Style { System::Windows::FontStyle get(); };
public System.Windows.FontStyle Style { get; }
member this.Style : System.Windows.FontStyle
Public ReadOnly Property Style As FontStyle

プロパティ値

タイプフェイスのスタイル値を表す FontStyle 値。A FontStyle value that represents the style value for the typeface.

// Get the font style value for the typeface.
FontStyle fontStyle = typeface.Style;

if (fontStyle == FontStyles.Italic)
{
    // Perform action based on italic style value.
}
' Get the font style value for the typeface.
Dim fontStyle As FontStyle = typeface.Style

If fontStyle = FontStyles.Italic Then
	' Perform action based on italic style value.
End If

注釈

3 つに分類フォントの傾斜: 標準、斜体、および斜体します。Three terms categorize the slant of a font: normal, oblique, and italic.

適用対象