RunicWindowActivity record

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed record RunicWindowActivity : IEquatable<RunicWindowActivity>

Inherits or implements IEquatable.

Whether a Window is active, minimized and visible, for IRunicWindowPresentation.Activity.

Parameters

IsActive

Whether the Window has the desktop's keyboard focus.

IsMinimized

Whether the Window is minimized.

IsVisible

Whether the Window is shown: not hidden and not minimized, though other windows may cover it.

Constructors

RunicWindowActivity

public RunicWindowActivity(bool IsActive, bool IsMinimized, bool IsVisible)

Whether a Window is active, minimized and visible, for IRunicWindowPresentation.Activity.

Parameters

IsActive

Whether the Window has the desktop's keyboard focus.

IsMinimized

Whether the Window is minimized.

IsVisible

Whether the Window is shown: not hidden and not minimized, though other windows may cover it.

Properties

Assumed

public static RunicWindowActivity Assumed { get; }

Active and visible: what a Window reports when its host cannot tell, and before it opens.

Closed

public static RunicWindowActivity Closed { get; }

Neither active, minimized nor visible: what a closed Window reports.

IsActive

public bool IsActive { get; init; }

Whether the Window has the desktop's keyboard focus.

IsMinimized

public bool IsMinimized { get; init; }

Whether the Window is minimized.

IsVisible

public bool IsVisible { get; init; }

Whether the Window is shown: not hidden and not minimized, though other windows may cover it.