Interface IMainWindowProvider
- Namespace
- Artemis.UI.Shared.Services.MainWindow
- Assembly
- Artemis.UI.Shared.dll
Represents a class that provides the main window, so that IMainWindowService can control the state of the main window.
public interface IMainWindowProvider
Properties
IsMainWindowFocused
Gets a boolean indicating whether the main window is currently focused
bool IsMainWindowFocused { get; }
Property Value
IsMainWindowOpen
Gets a boolean indicating whether the main window is currently open
bool IsMainWindowOpen { get; }
Property Value
Methods
CloseMainWindow()
Closes the main window
void CloseMainWindow()
OpenMainWindow()
Opens the main window
void OpenMainWindow()
Events
MainWindowClosed
Occurs when the main window has been closed
event EventHandler? MainWindowClosed
Event Type
MainWindowFocused
Occurs when the main window has been focused
event EventHandler? MainWindowFocused
Event Type
MainWindowOpened
Occurs when the main window has been opened
event EventHandler? MainWindowOpened
Event Type
MainWindowUnfocused
Occurs when the main window has been unfocused
event EventHandler? MainWindowUnfocused