Interface IBringWindowToFocus
Interface for a window group that supports window focus.
Namespace: SociallyDistant.Core.Shell.Windowing
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IBringWindowToFocus
Methods
BringToFocus(IWindow)
Bring the specified window into focus, moving it to the front of other windows if needed.
Declaration
void BringToFocus(IWindow window)
Parameters
Type | Name | Description |
---|---|---|
IWindow | window | The window to focus. Must be part of this window group. |
IsWindowInFront(IWindow)
Checks whether the given window is in front of all other windows.
Declaration
bool IsWindowInFront(IWindow window)
Parameters
Type | Name | Description |
---|---|---|
IWindow | window | The window to check. |
Returns
Type | Description |
---|---|
bool | True if the window is both a part of this workspace and is in front of all other windows. |