IXRChangeService.AddItem(IComponent, IComponent) Method
In This Article
Adds a new element to a collection.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll
NuGet Package: DevExpress.Wpf.Reporting
#Declaration
void AddItem(
IComponent component,
IComponent owner = null
)
#Parameters
Name | Type | Description |
---|---|---|
component | IComponent | An object implementing the IComponent interface to add to the collection. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
owner | IComponent | null | An object implementing the IComponent interface that is the owner of the added element. |
#Remarks
If the owner parameter equals null (Nothing in Visual Basic), the element is added to the current report.
See Also