VirtualizationCacheLength Struktura
Definicja
Reprezentuje pomiary dla CacheLength dołączonej właściwości.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)
- Dziedziczenie
- Atrybuty
- Implementuje
Uwagi
Dołączona właściwość określa ilość miejsca, w VirtualizingPanel którym element wirtualizacji elementów przed lub po porcie widoku (obszar, w którym są widoczne elementy). 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). Można określić jednorodną długość pamięci podręcznej VirtualizationCacheLength moje Tworzenie a przy użyciu konstruktora, który przyjmuje jeden parametr.You can specify uniform cache length my creating a VirtualizationCacheLength by using the constructor that takes a single parameter. Można użyć konstruktora, który przyjmuje dwa parametry, aby określić różne wartości CacheBeforeViewport właściwości i. CacheAfterViewportYou can use the constructor that takes two parameters to specify different values for the CacheBeforeViewport and CacheAfterViewport properties.
Konstruktory
VirtualizationCacheLength(Double) |
Tworzy nowe wystąpienie VirtualizationCacheLength klasy z jednolitą długością pamięci podręcznej dla każdej strony okienka ekranu.Creates a new instance of the VirtualizationCacheLength class with a uniform cache length for each side of the viewport. |
VirtualizationCacheLength(Double, Double) |
Tworzy nowe wystąpienie VirtualizationCacheLength klasy z określoną długością pamięci podręcznej dla każdej strony okienka ekranu.Creates a new instance of the VirtualizationCacheLength class with the specified cache lengths for each side of the viewport. |
Właściwości
CacheAfterViewport |
Pobiera rozmiar pamięci podręcznej przed okienkiem ekranu podczas VirtualizingPanel wirtualizacji.Gets the size of the cache before the viewport when the VirtualizingPanel is virtualizing. |
CacheBeforeViewport |
Pobiera rozmiar pamięci podręcznej po okienku ekranu podczas VirtualizingPanel wirtualizacji.Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing. |
Metody
Equals(Object) |
Określa, czy określony obiekt jest równy bieżącemu VirtualizationCacheLength.Determines whether the specified object is equal to the current VirtualizationCacheLength. |
Equals(VirtualizationCacheLength) |
Określa, czy określony VirtualizationCacheLength element jest równy bieżącemu VirtualizationCacheLength.Determines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength. |
GetHashCode() |
Pobiera kod skrótu dla bieżącego VirtualizationCacheLength.Gets a hash code for the current VirtualizationCacheLength. |
ToString() |
Zwraca ciąg, który reprezentuje bieżący VirtualizationCacheLength.Returns a string that represents the current VirtualizationCacheLength. |
Operatory
Equality(VirtualizationCacheLength, VirtualizationCacheLength) |
Określa, czy dwa określone VirtualizationCacheLength obiekty są równe.Determines whether the two specified VirtualizationCacheLength objects are equal. |
Inequality(VirtualizationCacheLength, VirtualizationCacheLength) |
Określa, czy dwa określone VirtualizationCacheLength obiekty są równe.Determines whether the two specified VirtualizationCacheLength objects are equal. |