We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Syncfusion.Windows.Forms.Tools.TextBoxExt dynamic size

Thread ID:

Created:

Updated:

Platform:

Replies:

106479 Jan 9,2013 12:52 PM Jan 17,2013 09:07 PM Windows Forms 2
loading
Tags: Grouping
Gaukhar Massabayeva
Asked On January 9, 2013 12:52 PM

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

Gaukhar Massabayeva
Replied On January 14, 2013 12:26 PM

I am using GridGroupingControl

Athiram S [Syncfusion]
Replied On January 17, 2013 09:07 PM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;