VisualTreeChangeEventArgs Costruttore

Definizione

Inizializza una nuova istanza della classe VisualTreeChangeEventArgs.

public:
 VisualTreeChangeEventArgs(System::Windows::DependencyObject ^ parent, System::Windows::DependencyObject ^ child, int childIndex, System::Windows::Diagnostics::VisualTreeChangeType changeType);
public VisualTreeChangeEventArgs(System.Windows.DependencyObject parent, System.Windows.DependencyObject child, int childIndex, System.Windows.Diagnostics.VisualTreeChangeType changeType);
new System.Windows.Diagnostics.VisualTreeChangeEventArgs : System.Windows.DependencyObject * System.Windows.DependencyObject * int * System.Windows.Diagnostics.VisualTreeChangeType -> System.Windows.Diagnostics.VisualTreeChangeEventArgs
Public Sub New (parent As DependencyObject, child As DependencyObject, childIndex As Integer, changeType As VisualTreeChangeType)

Parametri

parent
DependencyObject

Oggetto DependencyObject a cui è stato aggiunto o rimosso un elemento (Child).

child
DependencyObject

Oggetto DependencyObject aggiunto o rimosso da un altro elemento (Parent).

childIndex
Int32

Indice negli elementi figlio dell'elemento Parent in cui si trova l'elemento Child al termine dell'operazione di aggiunta o rimozione.

changeType
VisualTreeChangeType

Valore che indica se l'elemento Child è stato aggiunto a un altro elemento (Parent) o rimosso.

Commenti

Questo membro supporta l'infrastruttura .NET Framework e non deve essere usato direttamente dal codice.

Si applica a