SingleChoiceAction.SelectedItem Property
Specifies a Single Choice Action’s selected item.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v22.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
ChoiceActionItem | A ChoiceActionItem object that represents the Single Choice Action’s item which is currently selected. |
Remarks
Use this property to specify the Single Choice Action’s item which is displayed as a selected item in a UI. Manual changing of this property value raises the SingleChoiceAction.SelectedItemChanged event. However, when an end-user changes this value by selecting an item in the Action’s control, the SingleChoiceAction.Execute event is raised.
You may need to use this property and the corresponding event when implementing a custom Action Container.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectedItem property.
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.