Skip to main content

RadioGroupItemCollection.Item[Int32] Property

Gets or sets an item at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public RadioGroupItem this[int index] { get; set; }


Name Type Description
index Int32

The zero-based index of the item to return.

Property Value

Type Description

The item at the specified position.


You can use the current property to access an item at the specified position. To add an item to the collection, see the RadioGroupItemCollection.Add, RadioGroupItemCollection.AddRange and RadioGroupItemCollection.Insert methods. To remove an item from the collection use the RadioGroupItemCollection.Remove method.

If index is a value greater than Count - 1, a ArgumentOutOfRangeException type exception is thrown.

The RadioGroupItemCollection.IndexOf method performs the opposite operation. It allows you to return the position of a specific item in the collection.

See Also