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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk