PowerArgs.Cli.ConsoleControl.ConsoleControl C# (CSharp) Method

ConsoleControl() public method

Creates a new ConsoleControl
public ConsoleControl ( ) : System
return System
        public ConsoleControl()
        {
            CanFocus = true;
            Background = Theme.DefaultTheme.BackgroundColor;
            this.Foreground = Theme.DefaultTheme.ForegroundColor;
            this.IsVisible = true;
            this.SubscribeForLifetime(ObservableObject.AnyProperty,()=> { Application?.Paint(); }, this.LifetimeManager);
        }