VirtualizingPanel.GetVirtualizationMode(DependencyObject) 方法

定义

返回指定对象的 VirtualizationMode 附加属性。

public:
 static System::Windows::Controls::VirtualizationMode GetVirtualizationMode(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.VirtualizationMode GetVirtualizationMode (System.Windows.DependencyObject element);
static member GetVirtualizationMode : System.Windows.DependencyObject -> System.Windows.Controls.VirtualizationMode
Public Shared Function GetVirtualizationMode (element As DependencyObject) As VirtualizationMode

参数

element
DependencyObject

从中读取 VirtualizationMode 属性的对象。

返回

VirtualizationMode

枚举值之一,指定对象是否使用容器回收。

适用于