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
- dependencyObject
Type: System.Windows.DependencyObject
The DependencyObject to set the property on.
- 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