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.CacheLength附加的屬性指定要在其中的空間量VirtualizingPanel虛擬化項目,之前或之後檢視連接埠 (區域所顯示項目)。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). 您可以指定快取長度一致我建立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.

適用於