Skip to main content
.NET Framework Class Library
HierarchicalVirtualizationConstraints Structure

Specifies the sizes of a control's viewport and cache. This structure is used by the IHierarchicalVirtualizationAndScrollInfo interface.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Structure HierarchicalVirtualizationConstraints
public struct HierarchicalVirtualizationConstraints
public value class HierarchicalVirtualizationConstraints
[<[%$TOPIC/hh141215_en-us_VS_110_2_0_3_0_0%]>]
type HierarchicalVirtualizationConstraints =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The HierarchicalVirtualizationConstraints type exposes the following members.

Constructors
  NameDescription
Public method HierarchicalVirtualizationConstraintsInitializes a new instance of the HierarchicalVirtualizationConstraints class.
Top
Properties
  NameDescription
Public property CacheLengthGets the size of the cache before and after the viewport.
Public property CacheLengthUnitGets the type of unit that is used by the CacheLength property.
Public property ViewportGets the area that displays the items of the control.
Top
Methods
  NameDescription
Public method Equals(HierarchicalVirtualizationConstraints)Returns a value that indicates whether the specified HierarchicalVirtualizationConstraints is equal to this HierarchicalVirtualizationConstraints.
Public method Equals(Object)Returns a value that indicates whether the specified object is equal to this HierarchicalVirtualizationConstraints. (Overrides ValueTypeEquals(Object).)
Public method GetHashCodeGets a hash code for this HierarchicalVirtualizationConstraints. (Overrides ValueTypeGetHashCode.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method ToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
Operators
  NameDescription
Public operator Static member EqualityReturns a value that indicates whether the specified HierarchicalVirtualizationConstraints objects are equal.
Public operator Static member InequalityReturns a value that indicates whether the specified HierarchicalVirtualizationConstraints objects are unequal.
Top
Version Information

.NET Framework

Supported in: 4.6, 4.5
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.