Delen via


SecondaryTile.VisualElementsRequested Event

Definition

Fired when a call is made to RequestCreateAsync.

This event is not raised on Windows Phone 8.1.

// Register
event_token VisualElementsRequested(TypedEventHandler<SecondaryTile, VisualElementsRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void VisualElementsRequested(event_token const* cookie) const;

// Revoke with event_revoker
SecondaryTile::VisualElementsRequested_revoker VisualElementsRequested(auto_revoke_t, TypedEventHandler<SecondaryTile, VisualElementsRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<SecondaryTile,VisualElementsRequestedEventArgs> VisualElementsRequested;
function onVisualElementsRequested(eventArgs) { /* Your code */ }
secondaryTile.addEventListener("visualelementsrequested", onVisualElementsRequested);
secondaryTile.removeEventListener("visualelementsrequested", onVisualElementsRequested);
- or -
secondaryTile.onvisualelementsrequested = onVisualElementsRequested;
Public Custom Event VisualElementsRequested As TypedEventHandler(Of SecondaryTile, VisualElementsRequestedEventArgs) 

Event Type

Remarks

This event is not raised for Windows Phone 8.x app.

Applies to