dashboard-devexpress-dot-dashboardcommon-4d9324ce.md
Specifies an icon for a custom item’s bar in the Ribbon.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
[AttributeUsage(AttributeTargets.Class)]
public class CustomItemImageAttribute :
Attribute
<AttributeUsage(AttributeTargets.Class)>
Public Class CustomItemImageAttribute
Inherits Attribute
You can apply CustomItemImageAttribute to a CustomItemMetadata object when you create metadata for a custom dashboard item. The attribute identifies an icon for a custom item’s bar in the Ribbon. The file that is used for an icon must be embedded to an assembly where the file is located. Make sure the file’s Build Action property is set to Embedded Resource.
The way in which you can specify an icon depends on the icon file’s location:
The icon is located in the same assembly where the CustomItemMetadata object is defined.
The icon is located in another assembly.
Object Attribute CustomItemImageAttribute
See Also