Layout.OnRemove(Int32, IView) 方法

定义

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

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

参数

index
Int32

在其中插入子视图的索引。

view
IView

插入的子视图。

适用于