Layout.ShouldInvalidateOnChildAdded(View) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Quando implementado, deve retornar true
se deve chamar InvalidateMeasure() quando adicionado, e deve retornar false
se não deve chamar InvalidateMeasure()child
. O valor padrão é true
.
protected:
virtual bool ShouldInvalidateOnChildAdded(Microsoft::Maui::Controls::View ^ child);
protected virtual bool ShouldInvalidateOnChildAdded (Microsoft.Maui.Controls.View child);
abstract member ShouldInvalidateOnChildAdded : Microsoft.Maui.Controls.View -> bool
override this.ShouldInvalidateOnChildAdded : Microsoft.Maui.Controls.View -> bool
Protected Overridable Function ShouldInvalidateOnChildAdded (child As View) As Boolean
Parâmetros
- child
- View
O filho para o qual especificar se a invalidação deve ser acompanhada ou não.
Retornos
true
se child
deve chamar InvalidateMeasure(), caso contrário false
.
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.