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

SliderImageCollection.Add(Image) Method

Adds an item to the current SliderImageCollection collection and returns its index.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public int Add(
    Image image
)

Parameters

Name Type Description
image Image

An Image object to be added to the current SliderImageCollection.

Returns

Type Description
Int32

An integer value indicating an index of the item added.

Remarks

The Add method adds an Image object to the current SliderImageCollection and places it at the end of the collection. To manually define a position for placement of the image, use the SliderImageCollection.Insert property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(Image) 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