VirtualizingPanel.SetIsVirtualizing(DependencyObject, Boolean) 方法

定义

设置 IsVirtualizingProperty 附加属性的值。

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

参数

element
DependencyObject

设置附加属性值的对象。

value
Boolean

如果 VirtualizingStackPanel 正在虚拟化,则为 true;否则为 false

适用于