Table of Contents

Class DynamicMenuBar

Namespace
UICatalog.Scenarios
Assembly
UICatalog.dll
[Scenario.ScenarioMetadata("Dynamic MenuBar", "Demonstrates how to change a MenuBar dynamically.")]
[Scenario.ScenarioCategory("Top Level Windows")]
[Scenario.ScenarioCategory("Menus")]
public class DynamicMenuBar : Scenario, IDisposable
Inheritance
DynamicMenuBar
Implements
Inherited Members

Methods

Init(ColorScheme)

Helper that provides the default Window implementation with a frame and label showing the name of the Scenario and logic to exit back to the Scenario picker UI. Override Init(ColorScheme) to provide any Toplevel behavior needed.

Run()

Runs the Scenario. Override to start the Scenario using a Toplevel different than Top.