Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13026 |

    Hi,

    I have a UserControl with one big grid. It is docked to “fill”.
    In the main form, there I use the UserControl.
    The UserControl is docked to the form.
    I have a method that resize the UserControl when the form change the size.
    Normaly the controls in the UserControl change the size, too.
    But the Xceed Grid do not change the size of the columns.

    what can I do to change this?

    thanks!

    Imported from legacy forums. Posted by awex (had 2079 views)

    User (Old forums)
    Member
    Post count: 23064

    Just a thought…

    Trap your the resize event of your control and in there, programatically ‘walk’ thru each of your visible columns resizing as needed.

    Of course, you’re talking about a ton of repainting going on during the drag so you might want to just flag the fact that a resize occurred and once the drag is complete perform your column resizing.

    Anyway, I have sample code that mimics this if you’d like it, feel free to shoot me a PM.

    -Curtis

    Imported from legacy forums. Posted by Curtis (had 2147 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Curtis

    I have the same issue.

    Can I have your sample code please.

    Please send your sample code to tharaka@live.com

    regards

    Tharka 

     

    Imported from legacy forums. Posted by Tharaka (had 846 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.