AutomationElement.LayoutInvalidatedEvent Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the event that is raised when the layout is invalidated.
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
Field Value
Remarks
This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent identifier in AutomationElementIdentifiers.
This event is raised by a container of elements whenever the visibility information of many elements has changed. This event is used by the client as an indicator that it needs to refresh the BoundingRectangleProperty and IsOffscreenProperty information that it may have cached for elements within the tree. The recommended number of changes that triggers this event is 25.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för