WinCheckBoxTreeItem.Expanded 属性

获取或设置一个值,该值指示是否已展开树项。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
Public Overridable Property Expanded As Boolean
    Get
    Set
public virtual bool Expanded { get; set; }
public:
virtual property bool Expanded {
    bool get ();
    void set (bool value);
}
abstract Expanded : bool with get, set
override Expanded : bool with get, set
function get Expanded () : boolean
function set Expanded (value : boolean)

属性值

类型:System.Boolean
如果树项已展开,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

WinCheckBoxTreeItem 类

Microsoft.VisualStudio.TestTools.UITesting.WinControls 命名空间