NotificationBinding
NotificationBinding
NotificationBinding
NotificationBinding
Class
Definition
Represents the binding element of an adaptive notification.
public : sealed class NotificationBinding : INotificationBindingpublic sealed class NotificationBinding : INotificationBindingPublic NotInheritable Class NotificationBinding Implements INotificationBinding// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Properties
Hints Hints Hints Hints
Gets the formatting hints for the notification binding.
public : IMap<string, string> Hints { get; }public IDictionary<string, string> Hints { get; }Public ReadOnly Property Hints As IDictionary<string, string>// You can use this property in JavaScript.
- Value
- IMap<PlatForm::String, PlatForm::String> IDictionary<string, string> IDictionary<string, string> IDictionary<string, string>
A collection of property/value pairs.
Language Language Language Language
Gets or sets the language for this notification binding.
public : PlatForm::String Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The language of the text content. See the National Language Support (NLS) API Reference for a list of valid values.
Template Template Template Template
Gets or sets the template for this binding visual.
public : PlatForm::String Template { get; set; }public string Template { get; set; }Public ReadWrite Property Template As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The template for this binding visual. You can use the properties of the KnownNotificationBindings class to retrieve the string for each of the available template types.
Methods
GetTextElements() GetTextElements() GetTextElements() GetTextElements()
Retrieves the text elements of this binding.
public : IVectorView<AdaptiveNotificationText> GetTextElements()public IReadOnlyList<AdaptiveNotificationText> GetTextElements()Public Function GetTextElements() As IReadOnlyList( Of AdaptiveNotificationText )// You can use this method in JavaScript.
Returns
IVectorView<AdaptiveNotificationText>
IReadOnlyList<AdaptiveNotificationText>
IReadOnlyList<AdaptiveNotificationText>
IReadOnlyList<AdaptiveNotificationText>
A collection of the text elements in this binding.