Redigera

Dela via


DataGridLength.Equals Method

Definition

Determines whether an object is equal to the current DataGridLength.

Overloads

Equals(Object)

Determines whether the specified object is equal to the current DataGridLength.

Equals(DataGridLength)

Determines whether the specified DataGridLength is equal to the current DataGridLength.

Equals(Object)

Determines whether the specified object is equal to the current DataGridLength.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare to the current instance.

Returns

true if the specified object is a DataGridLength with the same value or sizing mode as the current DataGridLength; otherwise, false.

Applies to

Equals(DataGridLength)

Determines whether the specified DataGridLength is equal to the current DataGridLength.

public:
 virtual bool Equals(System::Windows::Controls::DataGridLength other);
public bool Equals (System.Windows.Controls.DataGridLength other);
override this.Equals : System.Windows.Controls.DataGridLength -> bool
Public Function Equals (other As DataGridLength) As Boolean

Parameters

other
DataGridLength

The DataGridLength to compare to the current instance.

Returns

true if the specified object is a DataGridLength with the same value or sizing mode as the current DataGridLength; otherwise, false.

Implements

Applies to