Dela via


UserActivityVisualElements Class

Definition

Contains information, such as the description and icon, that can be shown in the details tile for a UserActivity.

public ref class UserActivityVisualElements sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UserActivityVisualElements final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UserActivityVisualElements
Public NotInheritable Class UserActivityVisualElements
Inheritance
Object Platform::Object IInspectable UserActivityVisualElements
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Version history

Windows version SDK version Value added
1803 17134 AttributionDisplayText

Properties

Attribution

Gets or sets the visual information about a user activity.

AttributionDisplayText

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

BackgroundColor

Gets and sets the background color for the details tile for this UserActivity.

Content

Gets and sets the content that is used for the details tile for this UserActivity

Description

Gets and sets the description text that is used for the details tile for this UserActivity.

DisplayText

Gets and sets the display text that is used for the details tile text for this UserActivity.

Applies to