Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator
Collapse the table of content
Expand the table of content

DataGridLength.Equality Operator

Compares two DataGridLength structures for equality.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static bool operator ==(
	DataGridLength gl1,
	DataGridLength gl2


Type: System.Windows.Controls.DataGridLength

The first DataGridLength instance to compare.

Type: System.Windows.Controls.DataGridLength

The second DataGridLength instance to compare.

Return Value

Type: System.Boolean
true if the two DataGridLength instances have the same value or sizing mode; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft