AutomationElement.LayoutInvalidatedEvent 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別當版面失效時所引發的事件。
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次。