FontWeight.Equality(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.
Compares two instances of FontWeight for equality.
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 the instances of FontWeight are equal; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.