Summary
Stores the given element, or the last focused element via FocusManager, for restoring the focus after closing a dialog.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- MetroWindow
Syntax
public void StoreFocus(IInputElement thisElement = null)
Parameters
Name | Type | Description |
---|---|---|
thisElement | IInputElement | The element which will be focused again. |
Return Value
Type | Description |
---|---|
void |