共用方式為


ShellSection.OnChildRemoved 方法

定義

多載

OnChildRemoved(Element)
已淘汰.

開發人員可以覆寫這個方法以自訂移除子系 Element 時的行為。

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

警告

OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.

開發人員可以覆寫這個方法以自訂移除子系 Element 時的行為。

[System.Obsolete("OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.")]
protected override void OnChildRemoved (Xamarin.Forms.Element child);
override this.OnChildRemoved : Xamarin.Forms.Element -> unit

參數

child
Element
屬性
System.ObsoleteAttribute

備註

開發人員應該在覆寫方法的開頭呼叫 base.OnChildRemoved()

適用於

OnChildRemoved(Element, Int32)

protected override void OnChildRemoved (Xamarin.Forms.Element child, int oldLogicalIndex);
override this.OnChildRemoved : Xamarin.Forms.Element * int -> unit

參數

child
Element
oldLogicalIndex
System.Int32

適用於