AutomationElement.LayoutInvalidatedEvent Field


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



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