Share via


InvalidateMeasure Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Sub InvalidateMeasure
public void InvalidateMeasure()
public:
void InvalidateMeasure()
member InvalidateMeasure : unit -> unit 
public function 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.

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace