FontWeight.LessThan(FontWeight, FontWeight) 演算子

定義

FontWeight の 2 つのインスタンスを評価して、一方のインスタンスがもう一方のインスタンスより小さいかどうかを確認します。

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 の最初のインスタンスです。

right
FontWeight

比較する FontWeight の 2 番目のインスタンスです。

戻り値

leftright より小さい場合は true。それ以外の場合は false

注釈

フォントの太さは、重いフォントの太さよりも小さくなります。 たとえば、"Light" または "Normal" のフォントの太さは、"UltraBold" フォントの太さよりも小さくなります。

適用対象