PowerArgs.Cli.FocusManager.Push C# (CSharp) Method

Push() public method

Pushes a new focus context onto the stack. This is useful, for example, when a dialog appears above all other controls and you want to limit focus to the dialog to acheive a modal affect. You must remember to call pop when your context ends.
public Push ( ) : void
return void
        public void Push()
        {
            focusStack.Push(new FocusContext());
            FirePropertyChanged(nameof(StackDepth));
        }