Layout.ShouldInvalidateOnChildRemoved(View) Método

Definição

Quando implementado, deve retornar true se deve chamar InvalidateMeasure() quando removido, e deve retornar false se não deve chamar InvalidateMeasure()child . O valor padrão é true.

protected:
 virtual bool ShouldInvalidateOnChildRemoved(Microsoft::Maui::Controls::View ^ child);
protected virtual bool ShouldInvalidateOnChildRemoved (Microsoft.Maui.Controls.View child);
abstract member ShouldInvalidateOnChildRemoved : Microsoft.Maui.Controls.View -> bool
override this.ShouldInvalidateOnChildRemoved : Microsoft.Maui.Controls.View -> bool
Protected Overridable Function ShouldInvalidateOnChildRemoved (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