Nevron Open Vision Documentation
Single Visible Panel

The NSingleVisiblePanel class represents a panel in which only a single child widget is visible at a time. The visible child widget is specified by its index, via the NSingleVisiblePanel-VisibleIndex property.

The example below demonstrates how to create a single visible panel that contains 3 labels and instruct the panel to display the second label:

Single Visible Panel Example
Copy Code
NSingleVisiblePanel panel = new NSingleVisiblePanel();
panel.Add(new NLabel("This is label 0"));
panel.Add(new NLabel("This is label 1"));
panel.Add(new NLabel("This is label 2")); 
panel.VisibleIndex = 1;
Properties and Events

The single visible panel provides the following properties:

See Also
Send Feedback