dashboard-devexpress-dot-dashboardcommon-dot-dashboarditem-35d4f28a.md
Gets custom properties available for the current dashboard item.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public CustomProperties CustomProperties { get; }
Public ReadOnly Property CustomProperties As CustomProperties
| Type | Description |
|---|---|
| CustomProperties |
A CustomProperties object that provides access to the item’s custom properties.
|
Tip
Documentation : Create Custom Properties
The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomProperties 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.
if (xrChart == null ) return;
MultiPaneSettings settings = MultiPaneSettings.FromJson(chartItem.CustomProperties[customPropertyName]);
CustomizeDiagram(xrChart.Diagram as XYDiagram, xrChart.Series, settings);
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L24
DashboardItem chartItem = provider.Dashboard.Items[itemName];
string constantLinesJSON = chartItem.CustomProperties[ConstantLineModule.CustomPropertyName];
ChartDashboardItem chartItem = provider.Dashboard.Items[itemName] as ChartDashboardItem;
bool scaleBreakEnabled = System.Convert.ToBoolean(chartItem.CustomProperties[ChartItemModule.ScaleBreakPropertyName]);
return new AutoScaleBreaks() { Enabled = scaleBreakEnabled };
if(chartControl != null && chartItem != null) {
string constantLinesJSON = chartItem.CustomProperties["ConstantLineSettings"];
if(constantLinesJSON != null) {
web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L55
var rangesJSON = gaugeItem.CustomProperties[CustomPropertyName];
var customRanges = JsonConvert.DeserializeObject<List<CustomRange>>(rangesJSON);
End If
Dim settings As MultiPaneSettings = MultiPaneSettings.FromJson(chartItem.CustomProperties(customPropertyName))
CustomizeDiagram(TryCast(xrChart.Diagram, XYDiagram), xrChart.Series, settings)
Dim chartItem As ChartDashboardItem = TryCast(provider.Dashboard.Items(itemName), ChartDashboardItem)
Dim scaleBreakEnabled As Boolean = System.Convert.ToBoolean(chartItem.CustomProperties(ChartItemModule.ScaleBreakPropertyName))
Return New AutoScaleBreaks() With {.Enabled = scaleBreakEnabled}
If chartControl IsNot Nothing AndAlso chartItem IsNot Nothing Then
Dim constantLinesJSON As String = chartItem.CustomProperties("ConstantLineSettings")
If constantLinesJSON IsNot Nothing Then
See Also