DataGridLength.Equality(DataGridLength, DataGridLength) 运算符

定义

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

public:
 static bool operator ==(System::Windows::Controls::DataGridLength gl1, System::Windows::Controls::DataGridLength gl2);
public static bool operator == (System.Windows.Controls.DataGridLength gl1, System.Windows.Controls.DataGridLength gl2);
static member ( = ) : System.Windows.Controls.DataGridLength * System.Windows.Controls.DataGridLength -> bool
Public Shared Operator == (gl1 As DataGridLength, gl2 As DataGridLength) As Boolean

参数

gl1
DataGridLength

要比较的第一个 DataGridLength 实例。

gl2
DataGridLength

要比较的第二个 DataGridLength 实例。

返回

Boolean

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

适用于