LauncherUIOptions LauncherUIOptions LauncherUIOptions LauncherUIOptions Class

Specifies options for user interface elements such as the application picker that can be invoked by this API.

Syntax

Declaration

public sealed class LauncherUIOptionspublic sealed class LauncherUIOptionsPublic NotInheritable Class LauncherUIOptions

Properties summary

Gets or sets the point on the screen where the user opened a file or URI.

Gets or sets the preferred placement of the Open With and Warning dialog boxes when starting a default app.

Gets or sets the selection rectangle on the screen where the user opened a file or URI.

Properties

  • InvocationPoint
    InvocationPoint
    InvocationPoint
    InvocationPoint

    Gets or sets the point on the screen where the user opened a file or URI.

    public IReference<Point> InvocationPoint { get; set; }public IReference<Point> InvocationPoint { get; set; }Public ReadWrite Property InvocationPoint As IReference<Point>

    Property Value

    • The invocation point.

    Remarks

    To get or set the selection rectangle, use the SelectionRect method.

    Important

    This property is only implemented on Desktop devices.

  • PreferredPlacement
    PreferredPlacement
    PreferredPlacement
    PreferredPlacement

    Gets or sets the preferred placement of the Open With and Warning dialog boxes when starting a default app.

    public Placement PreferredPlacement { get; set; }public Placement PreferredPlacement { get; set; }Public ReadWrite Property PreferredPlacement As Placement

    Property Value

    Remarks

    Important

    This property is only implemented on Desktop devices.

  • SelectionRect
    SelectionRect
    SelectionRect
    SelectionRect

    Gets or sets the selection rectangle on the screen where the user opened a file or URI.

    public IReference<Rect> SelectionRect { get; set; }public IReference<Rect> SelectionRect { get; set; }Public ReadWrite Property SelectionRect As IReference<Rect>

    Property Value

    • The selection rectangle.

    Remarks

    To get or set the invocation point, use the InvocationPoint method.

    Important

    This property is only implemented on Desktop devices.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.System.dll