UserActivityVisualElements.AttributionDisplayText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.