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
140
RowSizingAutoMaxLines doesn't work at all
posted

I searched all Forum Articles about the maximum height of a cell, if using CellMultiLine Property in combination with RowSizing and RowSizingAutoMaxLines.

But my Problem is, that this Property doesn't work at all. I used several combinations and places to set this property with no effect. If i enter more lines than set in RowSizingAutoMaxLines and use for example AutoFree to adjust the height through doubleclick - all lines in the Cell are expanded for the selected row.

thanks Sebastian

Parents
No Data
Reply
  • 140
    Verified Answer
    posted

    The answer in my case was to have a special Look at RowSizing Property. With the following Settings the AutoMaxLines should work.

    ultraGrid.DisplayLayout.Override.CellMultiLine == Infragistics.Win.DefaultableBoolean.True;
    ultraGrid.DisplayLayout.Override.RowSizingAutoMaxLines = 3;
    ultraGrid.DisplayLayout.Override.RowSizing = RowSizing.AutoFixed;

Children
No Data