Bug Report T313435
Visible to All Users

Instant Layout Assistant has to be activated twice to insert RibbonControl

created 9 years ago (modified 9 years ago)

Hello,

To insert the RibbonControl using the Instant Layout Assistant it has to be activated 2 times.
Please find a screencast.

Also I'd like to keep XAML code layout when I insert a component.
But the Instant Layout Assistant and Toolbox change the code layout.

As you can see in the screencast, XAML before the insertion:

XAML
<UserControl x:Class="LS12.Module.Shop.Views.ShopRibbonView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="800">

And after the insertion:

XAML
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon" xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" x:Class="LS12.Module.Shop.Views.ShopRibbonView" mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="800">

It isn't critical issue, but I hope it can be fixed in a future releases.

Thanks,
Mikhail

Comments (1)
DevExpress Support Team 9 years ago

    Hello Mikhail,

    I was able to replicate the problem on our side first. I will forward this ticket to our R&D team, and we will contact you as soon as we have any results. As for the second issue, I am afraid that we cannot change this behavior at the level of our controls because the MS Visual Studio uses own rules for formatting namespaces in XAML code.

    Thanks,
    Elliot

    Answers approved by DevExpress Support

    created 9 years ago (modified 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.