dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrolbase-2fa4ec34.md
Allows you to specify a custom Dashboard Parameters dialog template.
Namespace : DevExpress.DashboardWpf
Assembly : DevExpress.Xpf.Dashboard.v25.2.dll
NuGet Package : DevExpress.Wpf.Dashboard
public DataTemplate ParametersTemplate { get; set; }
Public Property ParametersTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate object that specifies the data template used to render the Dashboard Parameters dialog.
|
The following Xaml snippet illustrates how to display the dashboard parameters using a custom template. The template is shown when the end-user clicks the Parameter button in the dashboard title.
<dxdash:DashboardControl>
<!--- --->
<dxdash:DashboardControl.ParametersTemplate>
<DataTemplate>
<DataGrid AutoGenerateColumns="False"
IsReadOnly="True"
ItemsSource="{Binding ItemViewModels}">
<DataGrid.Columns>
<DataGridTextColumn
Width="100"
Binding="{Binding DisplayName}"
Header="DisplayName" />
<DataGridTextColumn
Width="100"
Binding="{Binding Name}"
Header="Name" />
<DataGridTextColumn
Width="50"
Binding="{Binding Value}"
Header="Value" />
</DataGrid.Columns>
</DataGrid>
</DataTemplate>
</dxdash:DashboardControl.ParametersTemplate>
</dxdash:DashboardControl>
See Also