Back to Devexpress

DocumentPreviewControl.MessageBoxServiceTemplate Property

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-bed67952.md

latest2.1 KB
Original Source

DocumentPreviewControl.MessageBoxServiceTemplate Property

Specifies a data template which provides a service to display message boxes in the document preview. This is a dependency property.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public DataTemplate MessageBoxServiceTemplate { get; set; }
vb
Public Property MessageBoxServiceTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object.

|

Remarks

The template provided by the MessageBoxServiceTemplate property must contain an object that is a descendant of the ServiceBase class and implements the IMessageBoxService interface. By default, this template contains the DXMessageBoxService.

For more information, see the DXMessageBoxService document.

See Also

DXMessageBoxService

IMessageBoxService

DXMessageBoxService

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace