Share via


DesktopApplicationUIBase.AppWithFocus Property

Gets or Sets the application which has the focus

Namespace: Microsoft.Uii.Desktop.UI.Controls
Assembly: Microsoft.Uii.Desktop.UI.Controls (in Microsoft.Uii.Desktop.UI.Controls.dll)

Usage

'Usage
Dim value As IHostedApplication

value = DesktopApplicationUIBase.AppWithFocus

DesktopApplicationUIBase.AppWithFocus = value

Syntax

'Declaration
Public Shared Property AppWithFocus As IHostedApplication
public static IHostedApplication AppWithFocus { get; set; }
public:
static property IHostedApplication^ AppWithFocus {
    IHostedApplication^ get ();
    void set (IHostedApplication^ value);
}
/** @property */
public static IHostedApplication get_AppWithFocus ()

/** @property */
public static void set_AppWithFocus (IHostedApplication value)
public static function get AppWithFocus () : IHostedApplication

public static function set AppWithFocus (value : IHostedApplication)

Property Value

Returns IHostedApplication.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

DesktopApplicationUIBase Class
DesktopApplicationUIBase Members
Microsoft.Uii.Desktop.UI.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.