Partilhar via


VisualTreeChangeEventArgs Construtor

Definição

Inicializa uma nova instância da 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)

Parâmetros

parent
DependencyObject

O DependencyObject ao qual um elemento (filho) foi adicionado ou do qual foi removido.

child
DependencyObject

O DependencyObject que foi adicionado a outro elemento (pai) ou removido dele.

childIndex
Int32

O índice nos filhos do elemento pai no qual o elemento filho está localizado quando a operação de adicionar ou remover é concluída.

changeType
VisualTreeChangeType

Um valor que indica se o elemento filho foi adicionado a outro elemento (pai) ou removido dele.

Comentários

Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.

Aplica-se a