Syncfusion.Windows.Forms.Tools.TextBoxExt dynamic size

I would like to have the functionality where  TextBoxExt Area dynamically expands when the inputted contents are beyond set size of the TextBox.
 
For example if I paste "This is a word" this will fit in the area of my TextBoxExt so the size should stay the same. But if I paste "This is a long paragraph. It contains a lot of information and therefore will not fit into the TextBoxExt area. But I do not wish to scroll to see it instead I want TextBoxExt area to extend to fit it all in" the TextBoxext area should dynamically expand. Please let me know if such functionality is possible.
 
Thank you

2 Replies

GM Gaukhar Massabayeva January 14, 2013 05:26 PM UTC

I am using GridGroupingControl


AS Athiram S Syncfusion Team January 18, 2013 02:07 AM UTC

Hi Gaukar,

Thanks for your interest in Syncfusion products.

You can make use of  the followinf code to achieve it:

gridGroupingControl1.TableControl.Model.ColWidths.ResizeToFit(GridRangeInfo.Cols(0,gridGroupingControl1.TableDescriptor.Columns.Count);

Please let me know if you have any concerns.

Regards,

Athiram S


Loader.
Up arrow icon