Skip to main content
.NET 8.0+

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

ChoiceActionItem.ImageName Property

Specifies the name of the image which is displayed by the Choice Action Item’s control.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue("")]
public string ImageName { get; set; }

#Property Value

Type Default Description
String String.Empty

A string value that represents the name of the current Choice Action Item image.

#Remarks

If the Choice Action Item’s ChoiceActionItem.Model property is specified, the ImageName property value is stored in the corresponding Application Model Node. You can use the Model Editor to set the required image at design time.

When setting a value to this property, the ChoiceActionBase.ItemsChanged event is raised.

See the Add an Action with Option Selection topic, to learn how to use this property.

Note

The Choice Action Item can be displayed without an image. It depends on the Action Container that displays this Action and the Action Container settings. Built-in Action Containers support image display.

See Also