DashboardControlBase.ParametersTemplate Property

Allows you to specify a custom Dashboard Parameters dialog template.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Xpf.Dashboard.v18.2.dll

Declaration

public DataTemplate ParametersTemplate { get; set; }
Public Property ParametersTemplate As DataTemplate

Property Value

Type Description
DataTemplate

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