Layout.OnInsert(Int32, IView) 方法

定义

调用时 RemoveAt(Int32) 调用并通知与此布局关联的处理程序。

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

参数

index
Int32

删除子视图的索引。

view
IView

已删除的子视图。

适用于