共用方式為


VirtualizingPanel.SetIsVirtualizingWhenGrouping 方法

定義

設定 IsVirtualizingWhenGrouping 附加屬性。

public:
 static void SetIsVirtualizingWhenGrouping(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsVirtualizingWhenGrouping (System.Windows.DependencyObject element, bool value);
static member SetIsVirtualizingWhenGrouping : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsVirtualizingWhenGrouping (element As DependencyObject, value As Boolean)

參數

element
DependencyObject

要設定屬性的物件。

value
Boolean

true 指定 VirtualizingPanel 會虛擬化其集合中的分組項目,否則為 false

適用於