VirtualizingStackPanel.VirtualizationMode attached property

VirtualizingStackPanel.VirtualizationMode attached property

Gets or sets a value that sets the virtualization mode of items being virtualized by a parent VirtualizingStackPanel and items set.


<object VirtualizingStackPanel.VirtualizationMode="virtualizationModeMemberName"/>

XAML Values

virtualizationModeMemberName

A named constant of the VirtualizationMode enumeration, for example Standard.

Remarks

VirtualizingStackPanel.VirtualizationMode is an attached property, which supports a XAML usage. When setting this property in code, use SetVirtualizationMode instead. When getting this property in code, use GetVirtualizationMode instead. In code usages, the target parameter is the object where the attached property value is set. Another way to get or set the value in code is to use the dependency property system, calling either GetValue or SetValue and passing VirtualizationModeProperty as the dependency property identifier.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.UI.Xaml.Controls

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls

Metadata

Windows.winmd

See also

VirtualizingStackPanel

 

 

Show:
© 2016 Microsoft