Windows Dev Center

VisualElementsRequest class

Provides a method to delay the display of the Pin to Start flyout, as well as methods through which you can set the visual elements of the secondary tile to be presented in that flyout as well as alternate versions of the tile that can also be presented as options.

Note  On Windows Phone 8.1, the secondary tile is created without showing the user a flyout, prompting them for confirmation, or allowing them to choose an alternate version of the tile.

Syntax


var visualElementsRequest = Windows.UI.StartScreen.VisualElementsRequestedEventArgs.request;

Members

The VisualElementsRequest class has these types of members:

Methods

The VisualElementsRequest class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetDeferral Retrieves a deferral object, which allows the app time to provide information and assets used in the Pin to Start flyout.

 

Properties

The VisualElementsRequest class has these properties.

PropertyAccess typeDescription

AlternateVisualElements

Read-onlyGets a set of objects that provide alternate logo images, background and foreground colors, and display name. These alternates are shown to the user in the Pin to Start flyout.

Deadline

Read-onlyGets the approximate time at which the deferral will time-out.

VisualElements

Read-onlyGets a copy of the parent secondary tile's SecondaryTileVisualElements object. The visual elements properties can be set or read through this object.

 

Remarks

This object is obtained by calling the Request method of the VisualElementsRequestedEventArgs object obtained through the VisualElementsRequested event.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2015 Microsoft