語言

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 例子來比較。

傳回

true 若兩個 DataGridLength 實例值或大小模式相同;否則, false。

適用於