Table of Contents

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

bool

IsMainWindowOpen

Gets a boolean indicating whether the main window is currently open

bool IsMainWindowOpen { get; }

Property Value

bool

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

EventHandler

MainWindowFocused

Occurs when the main window has been focused

event EventHandler? MainWindowFocused

Event Type

EventHandler

MainWindowOpened

Occurs when the main window has been opened

event EventHandler? MainWindowOpened

Event Type

EventHandler

MainWindowUnfocused

Occurs when the main window has been unfocused

event EventHandler? MainWindowUnfocused

Event Type

EventHandler