Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Images.Insert(String, String, String, Int32) Method

Inserts an image from the target assembly.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public virtual int Insert(
    string assemblyName,
    string name,
    string path,
    int index
)

#Parameters

Name Type Description
assemblyName String

A String value that is the name of the source assembly that stores the required image.

name String

A String value that is the image name.

path String

A String value that is the path to the source assembly.

index Int32

An Int32 value that is the position within the Images collection at which the target image should be placed.

#Returns

Type Description
Int32

An Int32 value that is the index of the successfully inserted image.

See Also