Udostępnij za pośrednictwem


ModelParent Class

A class that can be used to help set the parent of an item.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public NotInheritable Class ModelParent
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class ModelParent
public ref class ModelParent abstract sealed
public final class ModelParent

Remarks

While you can directly set the parent of objects using the properties on items in the editing model, The ModelParent class allows you to know what objects can be parented into each other. ModelParent allows you to easily change parents from one object to another. ModelParent uses the ParentAdapter class on objects to understand parenting rules.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Model.ModelParent

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ModelParent Members

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture