The requested page is not available for the requested platform. You are viewing the content for Default platform.

SingleChoiceAction.SelectedIndex Property

Specifies the index of the selected item in a Single Choice Action's ChoiceActionBase.Items list.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[Browsable(false)]
public int SelectedIndex { get; set; }
<Browsable(False)>
Public Property SelectedIndex As Integer

Property Value

Type Description
Int32

An integer value representing an index of the Single Choice Action's currently selected item.

Remarks

Use this property to specify the index of 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.

If none of the Single Choice Action's items is selected, this property returns -1.

See Also