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)
属性值
设计器 UI 的根 UIElement。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.Windows.Design.Interaction 命名空间