I was assigned a project that requires me to display tree structures, which, it turns out, are a mathematically non-trivial process.
I found this project , which seems to more or less do the job, but in WPF, which really isnβt βmy scene, and also seems to require a little extra care and attention. I am a Windows.Forms programmer (anyway , I'm actually a GUI programmer), I need to bash it in WinForms before I can give it this care and attention.
I managed to get a few things that look right in this conversion, but I would like to make sure of these functions before I start charging blindly in the wrong direction.
I think that WPF Arrange looks equivalent to WinForms PerformLayout, WPF DesiredSize looks like WinForms PreferredSize and WPF Measure ... Um ...
Basically, I'm looking for any advice on automatic layout management in WinForms controls, just like WPF controls layouts, and confirmation that these obvious equivalences that I mentioned are actually equivalent.
source
share