FontWeight.LessThan(FontWeight, FontWeight) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluates two instances of FontWeight to determine whether one instance is less 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
Parameters
- left
- FontWeight
The first instance of FontWeight to compare.
- right
- FontWeight
The second instance of FontWeight to compare.
Returns
true
if left
is less than right
; otherwise, false
.
Remarks
Lighter font weights are lesser than heavier font weights. For example, a "Light" or "Normal" font weight is lesser than an "UltraBold" font weight.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈