Skip to main content
.NET 6.0+

SingleChoiceAction.SelectedItem Property

Specifies a Single Choice Action’s selected item.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public ChoiceActionItem SelectedItem { get; set; }

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.

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

See Also