Share via


UserActivityVisualElements.AttributionDisplayText Property

Definition

Set the text which is shown in the top banner of the activity card.

public:
 property Platform::String ^ AttributionDisplayText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AttributionDisplayText();

void AttributionDisplayText(winrt::hstring value);
public string AttributionDisplayText { get; set; }
var string = userActivityVisualElements.attributionDisplayText;
userActivityVisualElements.attributionDisplayText = string;
Public Property AttributionDisplayText As String

Property Value

String

Platform::String

winrt::hstring

The text that will appear in the top banner of the activity card.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

You can set the text in the banner without providing the icon.

Applies to