XRControlStyleSheet.Insert(Int32, XRControlStyle) Method
Adds the specified control style to the collection at the specified position.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | A zero-based integer, specifying the position at which the table row is to be inserted. |
item | XRControlStyle | An XRControlStyle object, specifying the control style to insert into the collection. |
Remarks
The Insert method allows you to insert a table row at a specific position. Elements that follow the insertion point are moved down to accommodate the new element.
If the index parameter is equal to or greater than the number of elements in the collection, the new element is appended to the end.
To add a new elements to the end of the collection, see the XRControlStyleSheet.AddRange method.