Bug Report T304625
Visible to All Users

PanelContainer - CustomHeaderButton's image disappears after DockPanel is deactivated if an image is used in ImageCollection or ImageList

created 9 years ago

Actually, I have several questions on the Docking System, and this is will be the first one, i have custom header button assigned to some of my DockPanels, UseCaption is set to false while UseImage is set to true.

At first, the DockPanel works fine, i can see the custom header buttons' image, and i can click it to make it work. But if i Dock it to tab with other DockPanel, and click other tab and then switch back, the custom header button image was GONE!!! When mouse hover, i still can see the hints and seems that the button still there, but just the image disappear

Any way to fix it?

Show previous comments (1)
DevExpress Support Team 9 years ago

    Hello,

    Thank you for your screenshots. I see the issue, but I cannot reproduce this behavior on my side. Attached is a small sample based on the described scenario. Would you please modify it to illustrate the issue? This information will allow us to find a suitable solution quickly.
    I hope to hear from you soon.

      Please check the updated sample, using imageList rather than assign image directly, the problem shows up, but your project seems provide me a workaround on solving this problem, but still, pls investigate what happen to the image list

      DevExpress Support Team 9 years ago

        Hello,

        Thank you for providing us with the sample.
        I have successfully reproduced the behavior you described and passed this ticket to our developers for further research.
        Please bear with us. We will notify you as soon as we make any progress.

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          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.