HierarchicalVirtualizationConstraints 结构

定义

指定控件的视区和缓存的大小。Specifies the sizes of a control's viewport and cache. 此结构由 IHierarchicalVirtualizationAndScrollInfo 接口使用。This structure is used by the IHierarchicalVirtualizationAndScrollInfo interface.

public value class HierarchicalVirtualizationConstraints
public struct HierarchicalVirtualizationConstraints
type HierarchicalVirtualizationConstraints = struct
Public Structure HierarchicalVirtualizationConstraints
继承
HierarchicalVirtualizationConstraints

构造函数

HierarchicalVirtualizationConstraints(VirtualizationCacheLength, VirtualizationCacheLengthUnit, Rect)

初始化 HierarchicalVirtualizationConstraints 类的新实例。Initializes a new instance of the HierarchicalVirtualizationConstraints class.

属性

CacheLength

获取视区前后的缓存的大小。Gets the size of the cache before and after the viewport.

CacheLengthUnit

获取 CacheLength 属性使用的单元类型。Gets the type of unit that is used by the CacheLength property.

Viewport

获取显示控件的项的区域。Gets the area that displays the items of the control.

方法

Equals(HierarchicalVirtualizationConstraints)

返回一个值,该值指示指定的 HierarchicalVirtualizationConstraints 是否与此 HierarchicalVirtualizationConstraints 相等。Returns a value that indicates whether the specified HierarchicalVirtualizationConstraints is equal to this HierarchicalVirtualizationConstraints.

Equals(Object)

返回一个值,该值指示指定对象是否与 HierarchicalVirtualizationConstraints 相等。Returns a value that indicates whether the specified object is equal to this HierarchicalVirtualizationConstraints.

GetHashCode()

获取此 HierarchicalVirtualizationConstraints 的哈希代码。Gets a hash code for this HierarchicalVirtualizationConstraints.

运算符

Equality(HierarchicalVirtualizationConstraints, HierarchicalVirtualizationConstraints)

返回一个值,该值指示指定 HierarchicalVirtualizationConstraints 对象是否相等。Returns a value that indicates whether the specified HierarchicalVirtualizationConstraints objects are equal.

Inequality(HierarchicalVirtualizationConstraints, HierarchicalVirtualizationConstraints)

返回一个值,该值指示指定 HierarchicalVirtualizationConstraints 对象是否不相等。Returns a value that indicates whether the specified HierarchicalVirtualizationConstraints objects are unequal.

适用于