VirtualizationCacheLength 構造体
定義
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>
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.VirtualizationCacheLengthConverter))>]
type VirtualizationCacheLength = struct
Public Structure VirtualizationCacheLength
Implements IEquatable(Of VirtualizationCacheLength)
- 継承
- 属性
- 実装
注釈
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). VirtualizationCacheLength1 つのパラメーターを受け取るコンストラクターを使用して、を作成するには、uniform cache length を指定します。You can specify uniform cache length my creating a VirtualizationCacheLength by using the constructor that takes a single parameter. 2つのパラメーターを受け取るコンストラクターを使用して、プロパティとプロパティに異なる値を指定でき CacheBeforeViewport CacheAfterViewport ます。You can use the constructor that takes two parameters to specify different values for the CacheBeforeViewport and CacheAfterViewport properties.
コンストラクター
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 クラスの新しいインスタンスを作成します。Creates a new instance of the VirtualizationCacheLength class with the specified cache lengths for each side of the viewport. |
プロパティ
CacheAfterViewport |
VirtualizingPanel が仮想化している場合に、ビューポートの前のキャッシュのサイズを取得します。Gets the size of the cache before the viewport when the VirtualizingPanel is virtualizing. |
CacheBeforeViewport |
VirtualizingPanel が仮想化している場合に、ビューポートの後のキャッシュのサイズを取得します。Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing. |
メソッド
Equals(Object) |
指定したオブジェクトが、現在の VirtualizationCacheLength と等しいかどうかを判断します。Determines whether the specified object is equal to the current VirtualizationCacheLength. |
Equals(VirtualizationCacheLength) |
指定された VirtualizationCacheLength が現在の VirtualizationCacheLength と等しいかどうかを判断します。Determines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength. |
GetHashCode() |
現在の VirtualizationCacheLength のハッシュ コードを取得します。Gets a hash code for the current VirtualizationCacheLength. |
ToString() |
現在の VirtualizationCacheLength を表す文字列を返します。Returns a string that represents the current VirtualizationCacheLength. |
演算子
Equality(VirtualizationCacheLength, VirtualizationCacheLength) |
指定した 2 つの VirtualizationCacheLength オブジェクトが等しいかどうかを判断します。Determines whether the two specified VirtualizationCacheLength objects are equal. |
Inequality(VirtualizationCacheLength, VirtualizationCacheLength) |
指定した 2 つの VirtualizationCacheLength オブジェクトが等しいかどうかを判断します。Determines whether the two specified VirtualizationCacheLength objects are equal. |