Equality Operator
Collapse the table of content
Expand the table of content

VirtualizationCacheLength.Equality Operator (VirtualizationCacheLength, VirtualizationCacheLength)

.NET Framework 4.6 and 4.5

Determines whether the two specified VirtualizationCacheLength objects are equal.

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

public static bool operator ==(
	VirtualizationCacheLength cl1,
	VirtualizationCacheLength cl2


Type: System.Windows.Controls.VirtualizationCacheLength

The first object to compare.

Type: System.Windows.Controls.VirtualizationCacheLength

The second object to compare.

Return Value

Type: System.Boolean

true if the specified VirtualizationCacheLength are equal; otherwise, false.

The VirtualizationCacheLength checks for value equality. That is, the two objects are equal if their CacheBeforeViewport property values are equal and their CacheAfterViewport property values are equal.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft