Class AppQuery
Helper class to support with Windows Store apps
Inheritance
System.Object
AppQuery
Assembly: Dapplo.Windows.dll
Syntax
public static class AppQuery : object
Properties
|
Improve this Doc
View Source
AppLauncher
Get the hWnd for the AppLauncer
Declaration
public static IntPtr AppLauncher { get; }
Property Value
|
Improve this Doc
View Source
IsLauncherVisible
Return true if the app-launcher is visible
Declaration
public static bool IsLauncherVisible { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WindowsStoreApps
Retrieve handles of all Windows store apps
Declaration
public static IEnumerable<IInteropWindow> WindowsStoreApps { get; }
Property Value
Methods
|
Improve this Doc
View Source
AppVisible(RECT)
Check if a Windows Store App (WinRT) is visible
Declaration
public static bool AppVisible(RECT windowBounds)
Parameters
Type |
Name |
Description |
RECT |
windowBounds |
|
Returns
Type |
Description |
System.Boolean |
true if an app, covering the supplied rect, is visisble
|
|
Improve this Doc
View Source
GetAppLauncher()
Declaration
public static IInteropWindow GetAppLauncher()
Returns
|
Improve this Doc
View Source
IsApp(IInteropWindow)
This checks if the window is an App (Win8 or Win10)
Declaration
public static bool IsApp(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsAppLauncher(IInteropWindow)
Test if this window is for the App-Launcher
Declaration
public static bool IsAppLauncher(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsGutter(IInteropWindow)
Check if the window is the metro gutter (sizeable separator)
Declaration
public static bool IsGutter(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMetroApp(IInteropWindow)
Check if this window is the window of a metro app
Declaration
public static bool IsMetroApp(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWin10App(IInteropWindow)
This checks if the window is a Windows 10 App
For Windows 10 apps are hosted inside "ApplicationFrameWindow"
Declaration
public static bool IsWin10App(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWin8App(IInteropWindow)
This checks if the window is a Windows 8 App
For Windows 10 most normal code works, as it's hosted inside "ApplicationFrameWindow"
Declaration
public static bool IsWin8App(this IInteropWindow interopWindow)
Parameters
Returns
Type |
Description |
System.Boolean |
|