RibbonControlLength.Equality(RibbonControlLength, RibbonControlLength) Operator

Definition

Compares two RibbonControlLength structures for equality.

public:
 static bool operator ==(System::Windows::Controls::Ribbon::RibbonControlLength length1, System::Windows::Controls::Ribbon::RibbonControlLength length2);
public static bool operator == (System.Windows.Controls.Ribbon.RibbonControlLength length1, System.Windows.Controls.Ribbon.RibbonControlLength length2);
static member ( = ) : System.Windows.Controls.Ribbon.RibbonControlLength * System.Windows.Controls.Ribbon.RibbonControlLength -> bool
Public Shared Operator == (length1 As RibbonControlLength, length2 As RibbonControlLength) As Boolean

Parameters

length1
RibbonControlLength

The first RibbonControlLength instance to compare.

length2
RibbonControlLength

The second RibbonControlLength instance to compare.

Returns

true if the two RibbonControlLength instances have the same value and sizing mode; otherwise, false.

Applies to