RibbonControlLength.Equality(RibbonControlLength, RibbonControlLength) 操作员

定义

比较两个 RibbonControlLength 结构是否相等。

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

参数

length1
RibbonControlLength

要比较的第一个 RibbonControlLength 实例。

length2
RibbonControlLength

要比较的第二个 RibbonControlLength 实例。

返回

如果两个 RibbonControlLength 实例具有相同的值和大小调整模式,则为 true;否则为 false

适用于