AppNotificationProgressBar.ValueStringOverride Property

Definition

Gets or sets the value string override of an app notification progress bar.

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

void ValueStringOverride(winrt::hstring value);
public string ValueStringOverride { get; set; }
var string = appNotificationProgressBar.valueStringOverride;
appNotificationProgressBar.valueStringOverride = string;
Public Property ValueStringOverride As String

Property Value

String

Platform::String

winrt::hstring

The value string override text.

Remarks

You can also set the value string override text by calling AppNotificationProgressBar.SetValueStringOverride property.

You can set the title text using data binding by calling AppNotificationProgressBar.BindValueStringOverride. Update the bound status value by assigning an AppNotificationProgressData object to the AppNotification.Progresss property.

For guidance on using the AppNotificationBuilder APIs to create the UI for app notifications, see App notification content.

For reference information about the XML schema for app notifications, see App notification content schema.

Applies to