NavigationBar sizing does not work in XBAP

Navigation for WPF Forum

Posted 11 years ago by Mike Benson - CTO, Abakos, Inc.
Version: 9.1.0503
Platform: .NET 3.5
Environment: Windows XP (32-bit)
Avatar
Its actually a really narrow scope, we have one application that gets compiled as both an XBAP and a standard exe. Since we dont want to duplicate all the code, our app checks to see if its running in xbap or not and starts either a page or window as appropriate.

Inside the main page/window is a user control that contains our actual main form.

If the NavigationBar is inside a DockPanel inside the user control and thats in a page the NavigationBar does not get its width set correctly. It works fine in a window but not a page.

The workaround is to remove it from the dockpanel and put it in a grid, then everything works fine. I have a sample app if you would like it.

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mike,

Thanks for the repro project. We've fixed the problem when hosted in a DockPanel for the next build.


Actipro Software Support

The latest build of this product (v2020.1.0) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.