Bug Report B183936
Visible to All Users

Bar Items - Separators are missing when changing the BarItem.Alignment to Far

created 14 years ago
Comments (3)
DevExpress Support Team 14 years ago
    DevExpress Support Team 14 years ago

      Hi Paul,
      Thank you for your patience. We have managed to resolve this problem. The fix will be applied to the upcoming minor version (10.2.7).
      We understand that this issue is rather critical, so we can provide you with an intermediate build of the Suite, containing the bug fix.
      When you install the public fix, use the following code to solve an issue:

      C#
      void MainPage_Loaded(object sender, RoutedEventArgs e) { Bar documentPreviewToolbar = preview.BarManager.Bars["DocumentPreviewToolBar"]; documentPreviewToolbar.BarItemsAlignment = BarItemAlignment.Far; BarItemLinkBase[] links = new BarItemLinkBase[documentPreviewToolbar.ItemLinks.Count]; documentPreviewToolbar.ItemLinks.CopyTo(links, 0); documentPreviewToolbar.ItemLinks.Clear(); foreach (BarItemLinkBase link in links) documentPreviewToolbar.ItemLinks.Insert(0, link); documentPreviewToolbar.DockInfo.ContainerType = DevExpress.Xpf.Bars.BarContainerType.Bottom; documentPreviewToolbar.ShowDragWidget = false; }

      Please accept our sincere apologies for any inconvenience.
      Thanks,
      Alexey

        Thank you.

        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.