共用方式為


DesignerView.RootView 屬性

傳回代表 DesignerViewViewItem

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property RootView As ViewItem
    Get
public ViewItem RootView { get; }
public:
property ViewItem^ RootView {
    ViewItem^ get ();
}
member RootView : ViewItem
function get RootView () : ViewItem

屬性值

型別:Microsoft.Windows.Design.Interaction.ViewItem
表示 DesignerViewViewItem

.NET Framework 安全性

請參閱

參考

DesignerView 類別

Microsoft.Windows.Design.Interaction 命名空間

AdornerPanel

其他資源

逐步解說:建立設計階段裝飾項

裝飾項架構