SilverlightTreeItem.Expanded 属性

获取或设置树节点的展开状态。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.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
一个 Boolean 值,该值表示树项的已展开状态。如果树项已展开,则为 true。否则为 false。

.NET Framework 安全性

请参见

参考

SilverlightTreeItem 类

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