I have a custom panel that, when resized, has the LayoutUpdated and ArrangeOverride events twice.
So, first MeasureOverride and ArrangeOverride do their job once when opening the client window. Then, if I maximize the window, each one is called twice. Available and final sizes, respectively, do not differ between each iteration, so I'm not sure what this beginning is.
Is there a way to determine the reason for the invalidity?
source
share