Back to Devexpress

SaveComponentsEventArgs.Components Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-savecomponentseventargs.md

latest2.2 KB
Original Source

SaveComponentsEventArgs.Components Property

Provides access to the list of components that will be saved along with a report’s layout into a REPX file.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public IList Components { get; }
vb
Public ReadOnly Property Components As IList

Property Value

TypeDescription
IList

An object, which implements the IList interface, representing the components to be saved.

|

Remarks

The XtraReport.SaveComponents event occurs when a report is saved to an REPX file. This event allows you to manually decide which compoents should be stored into a report definition file, and which aren’t. For example, to prevent a particular component from being saved to an REPX file, simply remove this component from the Components collection in the XtraReport.SaveComponents event handler.

See Also

Store Report Layouts

SaveComponents

SaveComponentsEventArgs Class

SaveComponentsEventArgs Members

DevExpress.XtraReports.UI Namespace