Splitter position

4 posts, 1 answers
  1. Mirek
    Mirek avatar
    2 posts
    Member since:
    Dec 2011

    Posted 03 Dec 2011 Link to this post

    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
  2. Answer
    Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 07 Dec 2011 Link to this post

    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.

  3. fbi
    fbi avatar
    3 posts
    Member since:
    Oct 2009

    Posted 09 Feb in reply to Ivan Petrov Link to this post

    Hello Ivan,

    is there an event for the changing of the splitter position ?

    Best regards

    Fritz
  4. Dimitar
    Admin
    Dimitar avatar
    775 posts

    Posted 11 Feb Link to this post

    Hello Frits,

    Thank you for writing.

    There is no event that will fire when the ValueColumnWidth property is changed. I have logged this in our Feedback Portal. You can track the item for status changes and add your vote for it here.

    Unfortunately due to the nature of the issue I cannot provide you with a workaround for it.

    Your Telerik Points have been updated for this report.

    Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top