FontWeight.GreaterThan(FontWeight, FontWeight) 演算子
定義
FontWeight の 2 つのインスタンスを評価して、一方のインスタンスがもう一方のインスタンスより大きいかどうかを確認します。Evaluates two instances of FontWeight to determine whether one instance is greater than the other.
public:
static bool operator >(System::Windows::FontWeight left, System::Windows::FontWeight right);
public static bool operator > (System.Windows.FontWeight left, System.Windows.FontWeight right);
static member ( > ) : System.Windows.FontWeight * System.Windows.FontWeight -> bool
Public Shared Operator > (left As FontWeight, right As FontWeight) As Boolean
パラメーター
- left
- FontWeight
比較する FontWeight の最初のインスタンスです。The first instance of FontWeight to compare.
- right
- FontWeight
比較する FontWeight の 2 番目のインスタンスです。The second instance of FontWeight to compare.
戻り値
left
が right
より大きい場合は true
。それ以外の場合は false
。true
if left
is greater than right
; otherwise, false
.
注釈
フォントの太さが薄いほど、フォントの太さが太くなります。Lighter font weights are lesser than heavier font weights. たとえば、"明るい" または "Normal" のフォントの太さは、"極太字" のフォントの太さよりも小さくなります。For example, a "Light" or "Normal" font weight is lesser than an "UltraBold" font weight.