Specifies the name of the image which is displayed by the Choice Action Item’s control.
A string value that represents the name of the current Choice Action Item image.
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.
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageName property.
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.