Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.23 KB

useractivityattribution_addimagequery.md

File metadata and controls

26 lines (16 loc) · 1.23 KB
-api-id -api-type
P:Windows.ApplicationModel.UserActivities.UserActivityAttribution.AddImageQuery
winrt property

Windows.ApplicationModel.UserActivities.UserActivityAttribution.AddImageQuery

-description

Get or set whether to allow Windows to append a query string to the image URI supplied from IconUri when retrieving the image. The query string includes information that can be used to choose the ideal image based on the DPI of the display, the high contrast setting, and the user's language.

-property-value

true to allow windows to append a query string to the image URI; false otherwise.

-remarks

Set to true if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language; for instance, an IconUri value of www.website.com/images/hello.png becomes www.website.com/images/hello.png?ms-scale=100&ms-contrast=standard&ms-lang=en-us.

-see-also

-examples