DashboardControlBase.ParametersTemplate Property
In This Article
Allows you to specify a custom Dashboard Parameters dialog template.
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Xpf.Dashboard.v24.2.dll
NuGet Package: DevExpress.Wpf.Dashboard
#Declaration
public DataTemplate ParametersTemplate { get; set; }
#Property Value
Type | Description |
---|---|
Data |
A Data |
#Remarks
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