Bug Report B96266
Visible to All Users

The DockPanel's width isn't set as expected

created 17 years ago

Having multiple DockPanels causes the widths to not be applied correctly. Look at UserControl2 class, line 20. The width of 200 is not being applied. The DockPanel looks as if it's been squeezed in.

Show previous comments (3)
DevExpress Support Team 17 years ago

    Hi Sanjay,
    It appears that the DockPanel size is later reduced to accommodate it to the resulting layout and form constraints. To overcome this issue, set the DockPanel.MinimumSize instead.
    I have modified your project accordingly. It is attached. Please let us know if this makes sense.
    Thanks,
    Michael.

      Thank you. It seems to work.
      Prasad

      DevExpress Support Team 17 years ago

        Hi Prasad,
        I am happy to hear that my assistance was helpful to you. Please do not hesitate to contact us if you experience problems when using our products. We will be happy to help you at any time.
        Thanks,
        Michael.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.