Skip to content

WindowSelectionRequestEventArgs ​

Provides the currently available candidate windows and allows the host to choose one.

Type ​

csharp
RoyalApps.Community.ExternalApps.WinForms.Events.WindowSelectionRequestEventArgs

Used By ​

Properties ​

Candidates (IReadOnlyList<ExternalWindowCandidate>) ​

Gets the current candidate windows.

Elapsed (TimeSpan) ​

Gets the time elapsed since selection started.

NewlyDiscoveredCandidates (IReadOnlyList<ExternalWindowCandidate>) ​

Gets the candidates that appeared for the first time during the current selection session.

RequestedExecutablePath (string?) ​

Gets the executable path requested by the session, if one was configured.

SelectedWindowHandle (IntPtr) ​

Gets the handle of the selected window, or System.IntPtr.Zero when no window has been selected yet.

StartedProcessId (int?) ​

Gets the identifier of the process started by the session, if one was launched.

Timeout (TimeSpan) ​

Gets the maximum time allowed for selection.

Methods ​

SelectWindow(ExternalWindowCandidate) ​

Returns: void

Selects a candidate window from the current candidate list.

Parameters

SelectWindow(ExternalWindowCandidate) ​

Returns: void

Selects a candidate window by handle.

Parameters

Back to API index

MIT Licensed