Nevron Forum

NNavigationPane.Palette.Scheme Issue

https://www.nevron.com/Forum/Topic3002.aspx

By Nils Bagge - Wednesday, February 3, 2010

Hi, I am currently evaluating Nevron Q1 2010 product and have come across some behavior I am having trouble fixing.

Setup:
I create a Form with NNavigationPane. I set the navigation pane's Palette.Scheme to ColorScheme.GrayScale, for example. Inside of one of the NNavigationPaneBand's, I have a user control that has a PanelBar with 2 bands.

Usage to reproduce issue:
1) I "hide" the navigation pane with the "<<" button at the top-right.
2) I click on the navigation pane's selected band to get a view of the contents. At this time I see that the Palette.Scheme of the controls inside my NNavigationPaneBand has been reset to default (VistaPlus).
3) If I unhide the Navigation pane, the user controls inside the NNavigationPaneBand continue to have the VistaPlus color scheme, rather than what I explicitly specified.

Aside of this issue, evaluation has been very impressive.

Thanks in advance,
Nils
By Angel Chorbadzhiev - Wednesday, February 3, 2010

Hello Nils,

Thank you for evaluating our controls.

Usually, the controls that resize in other control inherit its palette unless the PaletteInheritance property is set to None.

Try to set the PaletteInheritance of the NNavigationPane to None. This way it will not inherit the parent Palette.

Please, let us know if the problem persist.

Regards,

Angel.

By Nils Bagge - Wednesday, February 3, 2010

Nevermind, found the solution.
I was not using the NUIManager, which solves this issue. Should have read the documentation...