Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
Performace Problem using Infragistics.Win.Misc.UltraLabel
posted

Hi,

 

my problem is that I have a smal dialog whith some UltraLabel in a TabelLayoutPanel.

 

I want to set the UltraLabel to AutoSize = true but this resolves in a bad performance.

I added a Demo Version.

I this you have 3 Versions of my Dialog

1 whith UltraLabel.AutoSize = true and DockStyle= Fill

1 whith UltraLabel.AutoSize = false and DockStyle= Fill

1 whith UltraLabel.AutoSize = true and DockStyle= None

all the other things are the same (I only copyed the Dialog)

On the start Form you can open all this Dialogs and the Dialog (AutoSize = true and DockStyle= Fill) from a member so you see the constructor dose not cost much time.

 

If you try it you can see UltraLabel.AutoSize = false and DockStyle= Fill is much more performant than the other.

 

Any idea why this is so or a way to get AutoSize whithout losing performace?

 

Thanks

Wolfgang

AutoSize.zip