DesignerView.Child 属性

更新:2007 年 11 月

获取或设置设计器 UI 的根元素。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Overrides Property Child As UIElement
用法
Dim instance As DesignerView
Dim value As UIElement

value = instance.Child

instance.Child = value
public override UIElement Child { get; set; }
public:
virtual property UIElement^ Child {
    UIElement^ get () override;
    void set (UIElement^ value) override;
}
public override function get Child () : UIElement
public override function set Child (value : UIElement)

属性值

类型:System.Windows.UIElement

设计器 UI 的根 UIElement

权限

另请参见

参考

DesignerView 类

DesignerView 成员

Microsoft.Windows.Design.Interaction 命名空间

AdornerPanel

其他资源

演练:创建设计时装饰器

装饰器体系结构