Ticket T304653
Visible to All Users

DXWindow remove border spacing

created 9 years ago

Hi Team,
I am using DXWindow in my applicaiton. I want to remove spacing between borders and my controls, without loosing window drag, window border line, and minimixe/close buttons.

Please have a look at details in attached screenshot.

I would appreciate if you could send me some example for this.

Thanks
Ashpak

Answers approved by DevExpress Support

created 9 years ago

Hi Ashpak,
To achieve this goal, modify the layout defined in the "{dxt:FloatingContainerThemeKey ResourceKey=FloatingContainerTemplate}" template in the required manner. For more information, refer to How to modify DX themes in WPF.

    Comments (2)

      Hi Alex,
      Thanks fro reply.
      I tried understanding this bit, got confused in between.
      It is possible for you to send me some small example for this ?

      DevExpress Support Team 9 years ago

        Hi Ashpak,
        I've prepared a simple sample for the MetropolisLite theme to demonstrate this approach in action. If you are using another theme, you should use the "FloatingContainerThemeKey ThemeName="YourThemeName" ResourceKey=FloatingContainerTemplate" key to find the required template.
        Thanks,
        Nadya

        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.