Sdílet prostřednictvím


Layout.ShouldInvalidateOnChildRemoved(View) Metoda

Definice

Při implementaci by se měl vrátit true , pokud child by měl volat InvalidateMeasure() při odebrání, a měl by se vrátit false , pokud by neměl volat InvalidateMeasure(). Výchozí hodnota je 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

Parametry

child
View

Dítě, pro které chcete určit, zda má být sledováno zneplatnění.

Návraty

true pokud child by měla volat InvalidateMeasure(), jinak false.

Platí pro