Displays a control repeatedly until it is explicitly stopped.
This example shows the ControlRepeater used to display a TextMenu.
ControlRepeater menuRepeater = new ControlRepeater { Control = new TextMenu { Title = new TextBlock { Text = "Demo Application", ForegroundColor = ConsoleColor.Cyan, MarginBottom = 1 }, MarginTop = 1, MarginBottom = 1, EraseAfterClose = true } }; menuRepeater.Display(); // Later... menuRepeater.RequestClose();
There was an error while loading. Please reload this page.