Back to Devexpress

DataItemContainer.CustomProperties Property

dashboard-devexpress-dot-dashboardcommon-dot-dataitemcontainer.md

latest3.5 KB
Original Source

DataItemContainer.CustomProperties Property

Gets custom properties available for the current data item container.

Namespace : DevExpress.DashboardCommon

Assembly : DevExpress.Dashboard.v25.2.Core.dll

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public CustomProperties CustomProperties { get; }
vb
Public ReadOnly Property CustomProperties As CustomProperties

Property Value

TypeDescription
CustomProperties

A CustomProperties object that provides access to the data item container’s custom properties.

|

Remarks

Tip

Documentation : Create Custom Properties

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

wpf-dashboard-custom-properties/CS/Wpf-Dashboard-Custom-Properties/Modules/ChartItemModule/ChartOptions/LineStyle.cs#L22

csharp
if(series != null) {
    string propertyName = series.CustomProperties[ChartItemModule.DashStylePropertyName];
    if(!String.IsNullOrEmpty(propertyName)) {

wpf-dashboard-custom-properties/VB/Wpf-Dashboard-Custom-Properties/Modules/ChartItemModule/ChartOptions/LineStyle.vb#L24

vb
If series IsNot Nothing Then
    Dim propertyName As String = series.CustomProperties(ChartItemModule.DashStylePropertyName)
    If (Not String.IsNullOrEmpty(propertyName)) Then

Implements

CustomProperties

See Also

Create Custom Properties

Display Custom Properties

DataItemContainer Class

DataItemContainer Members

DevExpress.DashboardCommon Namespace