Share via


PropertyContainer.GetOwningPropertyContainer Method

Gets 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 Function GetOwningPropertyContainer ( _
    dependencyObject As DependencyObject _
) As PropertyContainer
public static PropertyContainer GetOwningPropertyContainer(
    DependencyObject dependencyObject
)
public:
static PropertyContainer^ GetOwningPropertyContainer(
    DependencyObject^ dependencyObject
)
static member GetOwningPropertyContainer : 
        dependencyObject:DependencyObject -> PropertyContainer 
public static function GetOwningPropertyContainer(
    dependencyObject : DependencyObject
) : PropertyContainer

Parameters

Return Value

Type: Microsoft.Windows.Design.PropertyEditing.PropertyContainer
The owning PropertyContainer.

.NET Framework Security

See Also

Reference

PropertyContainer Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture

Dependency Properties Overview