Skip to main content
A newer version of this page is available. .

XRControlCollection.SetChildIndex(XRControl, Int32) Method

Sets the index of the specified child control in the collection to the specified index value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public void SetChildIndex(
    XRControl child,
    int newIndex
)

Parameters

Name Type Description
child XRControl

The child XRControl object to search for.

newIndex Int32

The new index value of the control.

Remarks

The control with an index value of zero is at the top of the z-order, and higher numbers are closer to the bottom.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetChildIndex(XRControl, Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also