ExtensionWindowHeader.OnVisualParentChanged Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Invoked when the parent element of this ExtensionWindowHeader reports a change to its underlying visual parent.
Namespace: System.Activities.Design.View
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Protected Overrides Sub OnVisualParentChanged ( _
oldParent As DependencyObject _
)
'Usage
Dim oldParent As DependencyObject
Me.OnVisualParentChanged(oldParent)
protected override void OnVisualParentChanged(
DependencyObject oldParent
)
protected:
virtual void OnVisualParentChanged(
DependencyObject^ oldParent
) override
protected override function OnVisualParentChanged(
oldParent : DependencyObject
)
abstract OnVisualParentChanged :
oldParent:DependencyObject -> unit
override OnVisualParentChanged :
oldParent:DependencyObject -> unit
Parameters
- oldParent
Type: System.Windows.DependencyObject
The previous parent.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | ExtensionWindowHeader cannot be used outside ExtensionWindow. |
.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.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4