Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRDesignPanel.ComponentAdding Event

Occurs before a component can be added to the designer host of the report currently being edited in the Design Panel.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

#Declaration

public event ComponentEventHandler ComponentAdding

#Event Data

The ComponentAdding event's data class is ComponentEventArgs. The following properties provide information specific to this event:

Property Description
Component Gets the component associated with the event.

#Remarks

This event is raised before an XRControl object (or any other component which exists in the designer host) can be added by an end-user to the report currently being edited in the XRDesignPanel, or before an XRControl can be added to the designer host of the report programmatically.

See Also