NotificationService.PredefinedNotificationTemplate Property
Gets or sets the template that defines the presentation of predefined notifications. This is a dependency property.
Namespace: DevExpress.Mvvm.UI
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Mvvm.UI.NotificationTemplate | An object specifing the presentation of predefined notifications. |
Remarks
This property allows you to apply one of the following built-in templates to predefined notifications in your application.
Name | Appearance | Description |
---|---|---|
LongText | Accepts a value of the first parameter (text1) of the INotificationService.CreatePredefinedNotification method and displays it across all lines. | |
ShortHeaderAndLongText | Accepts values of the first and second parameters (text1 and text2) of the INotificationService.CreatePredefinedNotification method and displays the first value across the first line and the second one across the second and third lines. | |
LongHeaderAndShortText | Accepts values of the first and second parameters (text1 and text2) of the INotificationService.CreatePredefinedNotification method and displays the first value across the first and second lines and the second one across the third line. | |
ShortHeaderAndTwoTextFields | Accepts values of the first, second and third parameters (text1, text2, text3) of the INotificationService.CreatePredefinedNotification method and displays them across the first, second and third lines respectively. |
Note
The last parameter of the INotificationService.CreatePredefinedNotification method responsible for the notification’s image (image) is accepted by all templates.
See Also