wpf-devexpress-dot-mvvm-dot-ui-dot-viewservicebase.md
Specifies the view template.
Namespace : DevExpress.Mvvm.UI
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DataTemplate ViewTemplate { get; set; }
Public Property ViewTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate object.
|
To learn more, see View creation mechanisms.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ViewTemplate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-reporting-use-custom-controls-for-editing-report-content-in-print-preview/CS/MainWindow.xaml#L24
<dx:DialogService Name="previewService">
<dx:DialogService.ViewTemplate>
<DataTemplate>
wpf-lookupedit-process-new-values/CS/HowToCreateLookUpEdit/MainWindow.xaml#L15
<dx:DialogService DialogWindowStartupLocation="CenterOwner">
<dx:DialogService.ViewTemplate>
<DataTemplate>
how-to-use-the-wpf-wizardservice/CS/VM-DrivenWizard/MainWindow.xaml#L20
<dx:DialogService UnregisterOnUnloaded="True">
<dx:DialogService.ViewTemplate>
<DataTemplate>
reporting-wpf-mvvm-show-report-document-preview/CS/MainWindow.xaml#L14
<dx:DialogService Name="previewDialogService">
<dx:DialogService.ViewTemplate>
<DataTemplate>
reporting-wpf-mvvm-viewmodel-data-to-report/CS/MainWindow.xaml#L16
<dx:DialogService>
<dx:DialogService.ViewTemplate>
<DataTemplate>
See Also