Skip to main content

Images.Add(Image) Method

Appends the specified image to the current collection of images.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public virtual int Add(
    Image image
)

Parameters

Name Type Description
image Image

A Image object to append to the collection.

Returns

Type Description
Int32

An integer value indicating the position at which the new element was inserted. -1 if the specified image is null (Nothing in Visual Basic) or empty.

Remarks

This method adds an image to the end of the collection.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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