UIElement.InvalidateMeasure Method

Invalidates the measurement state of the current element's layout.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void InvalidateMeasure ()

Remarks

Calling this method also calls the InvalidateArrange method internally, so there is no need to call InvalidateMeasure and InvalidateArrange in succession. After the invalidation, the element will have its layout updated, which will occur asynchronously unless the UpdateLayout method is called to force a synchronous layout change.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace