Share via


Layout.OnUpdate(Int32, IView, IView) Method

Definition

Invoked when Item[Int32] is called and notifies the handler associated to this layout.

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

Parameters

index
Int32

The index at which the child view was updated.

view
IView

The new child view which was added at index.

oldView
IView

The previous child view which was at index.

Applies to