VirtualizationCacheLength VirtualizationCacheLength VirtualizationCacheLength VirtualizationCacheLength Struct

定義

表示 CacheLength 附屬屬性的測量值。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)
繼承
VirtualizationCacheLengthVirtualizationCacheLengthVirtualizationCacheLengthVirtualizationCacheLength
屬性
實作

備註

附加屬性會指定在視圖埠 (可見專案的VirtualizingPanel區域) 之前或之後, 虛擬化專案的空間量。 VirtualizingPanel.CacheLengthThe 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). 您可以使用接受單一參數的函式VirtualizationCacheLength , 指定我建立的統一快取長度。You can specify uniform cache length my creating a VirtualizationCacheLength by using the constructor that takes a single parameter. 您可以使用接受兩個參數的函式, 為CacheBeforeViewportCacheAfterViewport屬性指定不同的值。You can use the constructor that takes two parameters to specify different values for the CacheBeforeViewport and CacheAfterViewport properties.

建構函式

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

建立 VirtualizationCacheLength 類別的新執行個體,這個執行個體檢視區每一邊的快取長度一致。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)

建立 VirtualizationCacheLength 類別的新執行個體,這個執行個體檢視區的每一邊都有指定的快取長度。Creates a new instance of the VirtualizationCacheLength class with the specified cache lengths for each side of the viewport.

屬性

CacheAfterViewport CacheAfterViewport CacheAfterViewport CacheAfterViewport

取得 VirtualizingPanel 虛擬化時,檢視區前的快取大小。Gets the size of the cache before the viewport when the VirtualizingPanel is virtualizing.

CacheBeforeViewport CacheBeforeViewport CacheBeforeViewport CacheBeforeViewport

取得 VirtualizingPanel 虛擬化時,檢視區後的快取大小。Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing.

方法

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

判斷指定的物件是否等於目前的 VirtualizationCacheLengthDetermines whether the specified object is equal to the current VirtualizationCacheLength.

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

判斷指定的 VirtualizationCacheLength 是否等於目前的 VirtualizationCacheLengthDetermines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength.

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

取得目前 VirtualizationCacheLength 的雜湊碼。Gets a hash code for the current VirtualizationCacheLength.

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

傳回表示目前 VirtualizationCacheLength 的字串。Returns a string that represents the current VirtualizationCacheLength.

運算子

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

判斷兩個指定的 VirtualizationCacheLength 物件是否相等。Determines whether the two specified VirtualizationCacheLength objects are equal.

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

判斷兩個指定的 VirtualizationCacheLength 物件是否相等。Determines whether the two specified VirtualizationCacheLength objects are equal.

適用於