次の方法で共有


Layout.ShouldInvalidateOnChildRemoved(View) メソッド

定義

実装されている場合は、削除されたときに呼び出す必要がある場合は返trueし、呼び出InvalidateMeasure()InvalidateMeasure()す必要がない場合は返すfalse必要childがあります。 既定値は 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

パラメーター

child
View

無効化を追跡するかどうかを指定する対象となる子。

戻り値

trueif は呼び出すInvalidateMeasure()必要があります。それ以外の場合childfalseは .

適用対象