VisualDiagnostics.OnChildRemoved Method
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.
Called when a child element is removed from the visual tree; raises VisualTreeChanged event.
public:
static void OnChildRemoved(Microsoft::Maui::IVisualTreeElement ^ parent, Microsoft::Maui::IVisualTreeElement ^ child, int oldLogicalIndex);
public static void OnChildRemoved(Microsoft.Maui.IVisualTreeElement parent, Microsoft.Maui.IVisualTreeElement child, int oldLogicalIndex);
static member OnChildRemoved : Microsoft.Maui.IVisualTreeElement * Microsoft.Maui.IVisualTreeElement * int -> unit
Public Shared Sub OnChildRemoved (parent As IVisualTreeElement, child As IVisualTreeElement, oldLogicalIndex As Integer)
Parameters
- parent
- IVisualTreeElement
The parent visual element.
- child
- IVisualTreeElement
The child visual element that was removed.
- oldLogicalIndex
- Int32
The previous logical index of the child.