Table of Contents

Class CenteredWindowInsideWindow

Namespace
UICatalog.Scenarios
Assembly
UICatalog.dll
[Scenario.ScenarioMetadata("CenteredWindowInsideWindow", "Centered Window Inside Window")]
[Scenario.ScenarioCategory("Controls")]
public class CenteredWindowInsideWindow : Scenario, IDisposable
Inheritance
CenteredWindowInsideWindow
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.