A newer version of this page is available.
Switch to the current version.
Provide Custom Icons to the Field List Items
- 2 minutes to read
Tip
Online Example: How to provide custom icons for the Field List in the End-User Designer
This example demonstrates how to provide custom images to the Field List items.
using System;
using System.Windows.Forms;
using DevExpress.XtraReports.UI;
// ...
namespace FieldListCustomIcons {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
DevExpress.Data.Browsing.Design.ColumnImageProvider.Instance = new CustomColumnImageProvider();
}
private void button1_Click(object sender, EventArgs e) {
XtraReport1 report = new XtraReport1();
ReportDesignTool designTool = new ReportDesignTool(report);
designTool.ShowDesignerDialog();
}
}
}
The result is shown in the following image.
See Also
Feedback