AutomationElement.LayoutInvalidatedEvent 欄位

定義

識別版面配置失效時引發的事件。

public: static initonly System::Windows::Automation::AutomationEvent ^ LayoutInvalidatedEvent;
public static readonly System.Windows.Automation.AutomationEvent LayoutInvalidatedEvent;
 staticval mutable LayoutInvalidatedEvent : System.Windows.Automation.AutomationEvent
Public Shared ReadOnly LayoutInvalidatedEvent As AutomationEvent 

欄位值

備註

使用者介面自動化用戶端應用程式會使用此識別碼。 使用者介面自動化提供者應該使用 中的 AutomationElementIdentifiers 對等識別碼。

每當許多元素的可見度資訊變更時,元素的容器就會引發此事件。 用戶端會使用此事件做為指標,指出它需要重新 BoundingRectangleProperty 整理其可能已針對樹狀結構內的元素快取的 和 IsOffscreenProperty 資訊。 觸發此事件的建議變更數目為 25。

適用於

另請參閱