Windows Dev Center

GridLength.Equality operator

Compares two GridLength structures for equality.

Syntax


public static bool operator ==(
  GridLength gl1, 
  GridLength gl2
)

Parameters

gl1

Type: GridLength

The first GridLength structure to compare.

gl2

Type: GridLength

The second GridLength structure to compare.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if all values of gl1 and gl2 are equal; otherwise, false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.UI.Xaml.dll

See also

GridLength

 

 

Show:
© 2015 Microsoft