Bagikan melalui


Layout.OnAdd(Int32, IView) Method

Definition

Invoked when Add(IView) is called and notifies the handler associated to this layout.

protected:
 virtual void OnAdd(int index, Microsoft::Maui::IView ^ view);
protected virtual void OnAdd (int index, Microsoft.Maui.IView view);
abstract member OnAdd : int * Microsoft.Maui.IView -> unit
override this.OnAdd : int * Microsoft.Maui.IView -> unit
Protected Overridable Sub OnAdd (index As Integer, view As IView)

Parameters

index
Int32

The index at which the child view was inserted.

view
IView

The child view which was inserted.

Applies to