AccessibilityNode.frameGetter

public Func<Rect> frameGetter;

Description

Optional delegate that can be set to calculate the frame for the node instead of setting a flat value. If the frame of the node may change over time, this delegate should be set instead of giving a one time value for the frame.

If AccessibilityHierarchy.RefreshNodeFrames is called, the value of the frame is set to Rect.zero if frameGetter is not set.


Did you find this page useful? Please give it a rating: