共用方式為


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

其中一個列舉值,這個值會指定物件是否要使用容器回收功能。

適用於