Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

The mysterious code about measuring in WPF

$
0
0

Hi guys,

what is this code part doing. I have seen this inside a custom control in WPF.

this.InvalidateMeasure();
this.UpdateLayout();

Both commands are together. I guess the first one is invalidating some measure flag or something but what are those two doing together?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>