TdxDashboardParameters Class
A collection of dashboard parameters.
Declaration
TdxDashboardParameters = class(
TdxBackendCustomParameters<TdxDashboardParameter>
)
Remarks
Dashboard parameters are dynamic values that can replace constants in expressions, calculated fields, etc. The TdxDashboardParameters class implements a read-only collection of dashboard parameters.
The TdxDashboardParameters collection is populated and updated automatically from the current dashboard layout definition. The list of parameter is read-only, you can only access and modify parameter properties.
Main API Members
The list below outlines key members of the TdxDashboardParameters class. These members allow you to access and modify parameters in a dashboard.
- BeginUpdate | EndUpdate
Allow you to avoid excessive notifications and improve performance during batch changes.
Tip
Every individual dashboard parameter change updates the parent dashboard’s State property value. Enclose multiple dashboard parameter changes between BeginUpdate and EndUpdate calls to avoid excessive state updates.
- Count
- Returns the number of parameters stored in the collection.
- FindParam | ParamByName
- Return a stored parameter by its name.
- Items
- Provides indexed access to parameters in the collection.
Code Examples
Related GitHub-Hosted Example Projects
Direct TdxDashboardParameters Class Reference
The TdxCustomDashboardControl.Parameters property references a TdxDashboardParameters object.