Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PropertyGrid > Splitter position

Answered Splitter position

Feed from this thread
  • Mirek avatar

    Posted on Dec 3, 2011 (permalink)

    Hi,

    I'm using RadPropertyGrid with multiple RadPropertyStore objects. The properties names are quite long and their length are run-time dependent. How can I auto resize (move the splitter) columns in RadPropertyGrid to fit contents of both the widest PropertyName and the Value.

    Best regards,
    Mirek

    Reply

  • Answer Ivan Petrov Ivan Petrov admin's avatar

    Posted on Dec 7, 2011 (permalink)

    Hello Mirek,

    Thank you for writing.

    Currently, the widths of the columns can only be set by code to a given value. You can use the following code to set the width of the value column:

    this.radPropertyGrid1.PropertyGridElement.PropertyTableElement.ValueColumnWidth = 80;

    The auto sizing for the columns is a good idea and I have added it to our Public Issue Tracking System. You can track its progress and vote for it on the following link - PITS Feature.

    I have also updated your Telerik points for the good suggestion.

    If you have further questions, I would be glad to help.

    Regards,
    Ivan Petrov
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PropertyGrid > Splitter position