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
- dependencyObject
Type: System.Windows.DependencyObject
The DependencyObject to get the property from.
Return Value
Type: Microsoft.Windows.Design.PropertyEditing.PropertyContainer
The owning PropertyContainer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace