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
105
Field header size to content
posted

Hi Joe,

Is it possible to make the Field to size to content when double-clicking the splitter between fields?  You know it is possible to include many columns to display for a grid in practice, so the field headers are easily clipped. Considering lacking of support to size to content for a cell, I just want to find a way to make users easily see the whole header string at least.

I used the PreviewMouseDoubleClick event to capture user's double-clicking action to the splitter between fields, but I don't know what should be done in the hanlder of this event to make the selected field to become wider to display its whole header string. Could give me a some suggestion or another good solutions?

Thanks your any help.

Corin