Bug Report B134141
Visible to All Users

IsExpanded property value is ignored

created 16 years ago

When I untick the IsExpanded Property, it adds IsExpanded="False" to the NavBarGroup in the code window which is what I would have expected.
However, when I save/run the app it reports that there are now errors :-
Value 'False' cannot be assigned to property 'IsExpanded'.
If I change the code to be IsExpanded="True", the problem goes away.
Any ideas how to get around this?
Steps to Reproduce:
Create a WPF Page
Insert a dockpanel
Insert a NavBarControl in the dockpanel
Create some NavBarGroups
Set one of the groups properties to IsExpanded="False"
Actual Results:
Value 'False' cannot be assigned to property 'IsExpanded'.
Expected Results:
NavBarGroup to appear unexpanded

Comments (2)
DevExpress Support Team 16 years ago

    Hello Mitch,
    Thank you for your report. The problem will be fixed in the next version. Currently, you can set IsExpanded programmatically next to the InitializeComponents method call or within the NavBar's Loaded event handler.
    Thanks,
    Nick

    MT MT
    Mitchell Thraves 16 years ago

      I'm using code behind to get around this for now. Many thanks for your quick response.

      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.