VisualTreeChangeEventArgs(Object, Object, Int32, VisualTreeChangeType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VisualTreeChangeEventArgs.
public:
VisualTreeChangeEventArgs(System::Object ^ parent, System::Object ^ child, int childIndex, Microsoft::Maui::VisualTreeChangeType changeType);
public VisualTreeChangeEventArgs(object? parent, object child, int childIndex, Microsoft.Maui.VisualTreeChangeType changeType);
new Microsoft.Maui.VisualTreeChangeEventArgs : obj * obj * int * Microsoft.Maui.VisualTreeChangeType -> Microsoft.Maui.VisualTreeChangeEventArgs
Public Sub New (parent As Object, child As Object, childIndex As Integer, changeType As VisualTreeChangeType)
Parameters
- parent
- Object
The parent visual element, or null for the root.
- child
- Object
The child visual element involved in the change.
- childIndex
- Int32
The logical index of the child within its parent at the time of change.
- changeType
- VisualTreeChangeType
The type of change that occurred.