編輯

共用方式為


VisualTreeChangeEventArgs.Parent Property

Definition

Gets the DependencyObject to which an element (Child) was either added or removed.

public:
 property System::Windows::DependencyObject ^ Parent { System::Windows::DependencyObject ^ get(); };
public System.Windows.DependencyObject Parent { get; }
member this.Parent : System.Windows.DependencyObject
Public ReadOnly Property Parent As DependencyObject

Property Value

The element to which the child element was either added or removed.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Applies to