VirtualizingStackPanel.GetIsVirtualizing(DependencyObject) 方法

定义

获取 IsVirtualizing  附加属性的值。Gets the value of the IsVirtualizing attached property.

public:
 static bool GetIsVirtualizing(System::Windows::DependencyObject ^ o);
public static bool GetIsVirtualizing (System.Windows.DependencyObject o);
static member GetIsVirtualizing : System.Windows.DependencyObject -> bool
Public Shared Function GetIsVirtualizing (o As DependencyObject) As Boolean

参数

o
DependencyObject

从中读取附加属性值的对象。The object from which the attached property value is read.

返回

Boolean

如果 VirtualizingStackPanel 正在虚拟化其内容,则为 true;否则为 falsetrue if the VirtualizingStackPanel is virtualizing its content; otherwise, false.

注解

属性的默认值 IsVirtualizingtrueThe default value of the IsVirtualizing property is true.

适用于