VirtualizationCacheLength VirtualizationCacheLength VirtualizationCacheLength VirtualizationCacheLength Struct

Definition

Represents the measurements for the CacheLength attached property.

public value class VirtualizationCacheLength : IEquatable<System::Windows::Controls::VirtualizationCacheLength>
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.VirtualizationCacheLengthConverter))]
public struct VirtualizationCacheLength : IEquatable<System.Windows.Controls.VirtualizationCacheLength>
type VirtualizationCacheLength = struct
Public Structure VirtualizationCacheLength
Implements IEquatable(Of VirtualizationCacheLength)
Inheritance
VirtualizationCacheLengthVirtualizationCacheLengthVirtualizationCacheLengthVirtualizationCacheLength
Attributes
Implements

Remarks

The VirtualizingPanel.CacheLength attached property specifies the amount of space in which a VirtualizingPanel virtualizes the items before or after the view port (the area in which items are visible). You can specify uniform cache length my creating a VirtualizationCacheLength by using the constructor that takes a single parameter. You can use the constructor that takes two parameters to specify different values for the CacheBeforeViewport and CacheAfterViewport properties.

Constructors

VirtualizationCacheLength(Double) VirtualizationCacheLength(Double) VirtualizationCacheLength(Double) VirtualizationCacheLength(Double)

Creates a new instance of the VirtualizationCacheLength class with a uniform cache length for each side of the viewport.

VirtualizationCacheLength(Double, Double) VirtualizationCacheLength(Double, Double) VirtualizationCacheLength(Double, Double) VirtualizationCacheLength(Double, Double)

Creates a new instance of the VirtualizationCacheLength class with the specified cache lengths for each side of the viewport.

Properties

CacheAfterViewport CacheAfterViewport CacheAfterViewport CacheAfterViewport

Gets the size of the cache before the viewport when the VirtualizingPanel is virtualizing.

CacheBeforeViewport CacheBeforeViewport CacheBeforeViewport CacheBeforeViewport

Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(VirtualizationCacheLength) Equals(VirtualizationCacheLength) Equals(VirtualizationCacheLength) Equals(VirtualizationCacheLength)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets a hash code for the current VirtualizationCacheLength.

ToString() ToString() ToString() ToString()

Returns a string that represents the current VirtualizationCacheLength.

Operators

Equality(VirtualizationCacheLength, VirtualizationCacheLength) Equality(VirtualizationCacheLength, VirtualizationCacheLength) Equality(VirtualizationCacheLength, VirtualizationCacheLength) Equality(VirtualizationCacheLength, VirtualizationCacheLength)

Determines whether the two specified VirtualizationCacheLength objects are equal.

Inequality(VirtualizationCacheLength, VirtualizationCacheLength) Inequality(VirtualizationCacheLength, VirtualizationCacheLength) Inequality(VirtualizationCacheLength, VirtualizationCacheLength) Inequality(VirtualizationCacheLength, VirtualizationCacheLength)

Determines whether the two specified VirtualizationCacheLength objects are equal.

Applies to