Reorder the NExpanders in a NExplorerBar control

Applies to: Nevron User Interface for .NET

How to reorder the NExpanders in a NExplorerBar control?

The children expanders in a NExplorerBar are arranged according to their z-order (index in the Controls collection). So, to change an Expander’s index you may do the following:

1. At run-time:
this.nExpander1.SendToBack();

2. At design-time:

right-click on the expander and execute the “Send To Back” command of the context menu.


Remarks: You may use the BringToFront() method which also alters the z-index of a Control. Or you may use the parent Controls collection to set particular z-index:
this.nExplorerBar1.Controls.SetChildIndex(this.nExpander1, 1);

Article ID: 108, Created On: 11/1/2010, Modified: 11/16/2010