Layout.OnUpdate(Int32, IView, IView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.