Condividi tramite


DataGridLength.Equality Operator

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Compares two DataGridLength structures for equality.

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

Syntax

'Declaration
Public Shared Operator = ( _
    gl1 As DataGridLength, _
    gl2 As DataGridLength _
) As Boolean
public static bool operator ==(
    DataGridLength gl1,
    DataGridLength gl2
)

Parameters

Return Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.