語言

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次。

適用於

另請參閱