Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PowerArgs
Cli
FocusManager
Push
PowerArgs.Cli.FocusManager.Push C# (CSharp) Method
FocusManager Class Documentation
Show file
Open project: adamabdelhamed/PowerArgs
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)); }
FocusManager
Add
ClearFocus
CycleFocusIndex
FocusManager
Pop
Push
Remove
TryMoveFocus
TryRestoreFocus
TrySetFocus