Share via


PropertyContainer.SetOwningPropertyContainer Method

Sets the value of the OwningPropertyContainer attached property for a specified dependency object.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Sub SetOwningPropertyContainer ( _
    dependencyObject As DependencyObject, _
    value As PropertyContainer _
)
public static void SetOwningPropertyContainer(
    DependencyObject dependencyObject,
    PropertyContainer value
)
public:
static void SetOwningPropertyContainer(
    DependencyObject^ dependencyObject, 
    PropertyContainer^ value
)
static member SetOwningPropertyContainer : 
        dependencyObject:DependencyObject * 
        value:PropertyContainer -> unit 
public static function SetOwningPropertyContainer(
    dependencyObject : DependencyObject, 
    value : PropertyContainer
)

Parameters

.NET Framework Security

See Also

Reference

PropertyContainer Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture

Dependency Properties Overview