XRControlStyleSheet.Insert(Int32, XRControlStyle) Method

Adds the specified control style to the collection at the specified position.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Declaration

public void Insert(
    int index,
    XRControlStyle item
)
Public Sub Insert(
    index As Integer,
    item As XRControlStyle
)

Parameters

Type Name Description
Int32 index

A zero-based integer, specifying the position at which the table row is to be inserted.

XRControlStyle item

An XRControlStyle object, specifying the control style to insert into the collection.

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.