RadioGroupItemCollection.Item[Int32] Property

Gets or sets an item at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public RadioGroupItem this[int index] { get; set; }
Public Property Item(index As Integer) As RadioGroupItem

Parameters

Name Type Description
index Int32

The zero-based index of the item to return.

Property Value

Type Description
RadioGroupItem

The item at the specified position.

Remarks

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