共用方式為


Layout.ShouldInvalidateOnChildRemoved(View) 方法

定義

實作時,如果 child 應該在移除時呼叫 InvalidateMeasure(),則應傳回 true;如果不應該呼叫,則傳回 false

protected virtual bool ShouldInvalidateOnChildRemoved(Xamarin.Forms.View child);
abstract member ShouldInvalidateOnChildRemoved : Xamarin.Forms.View -> bool
override this.ShouldInvalidateOnChildRemoved : Xamarin.Forms.View -> bool

參數

child
View

要為其指定是否追蹤失效的子系。

傳回

System.Boolean

適用於