in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Problem in dynamically creating emptyspace

Last post 10/16/2008 7:34 AM by Roman K (Developer Express). 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 10/15/2008 6:26 AM

    Problem in dynamically creating emptyspace

     Hello,

    On one form I am creating controls dynamically on xtraLayoutGroupControl placed on it. I want to align the control and for that I need to create empty space dynamically and add it after that control. I have tried doing this, but couldn't suceed in it. How can I dynamically create and place empty space on a form or a UserControl?

    Thanks,

    Pankita

     

     

  • 10/16/2008 7:34 AM In reply to

    Re: Problem in dynamically creating emptyspace

    Hi, this code snippet should help

                EmptySpaceItem esi = new EmptySpaceItem();
                new DevExpress.XtraLayout.Customization.LayoutItemDragController(esi, layoutControlItem1).DragWildItem();

    Thanks, Roman

    R&D, .NET Team
    Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED