VirtualizationCacheLength Structure
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents the measurements for the VirtualizingPanel.CacheLength attached property.
Namespace: System.Windows.Controls
Assembly: PresentationFramework (in PresentationFramework.dll)
The VirtualizationCacheLength type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | VirtualizationCacheLength(Double) | Creates a new instance of the VirtualizationCacheLength class with a uniform cache length for each side of the viewport. |
![]() | VirtualizationCacheLength(Double, Double) | Creates a new instance of the VirtualizationCacheLength class with the specified cache lengths for each side of the viewport. |
| Name | Description | |
|---|---|---|
![]() | CacheAfterViewport | Gets the size of the cache before the viewport when the VirtualizingPanel is virtualizing. |
![]() | CacheBeforeViewport | Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current VirtualizationCacheLength. (Overrides ValueType.Equals(Object).) |
![]() | Equals(VirtualizationCacheLength) | Determines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets a hash code for the current VirtualizationCacheLength. (Overrides ValueType.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current VirtualizationCacheLength. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Determines whether the two specified VirtualizationCacheLength objects are equal. |
![]() ![]() | Inequality | Determines whether the two specified VirtualizationCacheLength objects are equal. |
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.
Windows 8 Consumer Preview, Windows Server 8 Beta, Windows 7, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
