RepositoryItemRadioGroup.Columns Property

Gets or sets the number of columns displayed within the radio group editor. This property is in effect in Column layout mode (see RepositoryItemRadioGroup.ItemsLayout).

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Data")]
[DefaultValue(0)]
public int Columns { get; set; }
<DXCategory("Data")>
<DefaultValue(0)>
Public Property Columns As Integer

Property Value

Type Default Description
Int32

0

An integer value indicating the number of columns.

Remarks

If the radio group contains multiple items, they can be displayed in several columns. Use the Columns property to specify the number of columns.

If the Columns property is set to 0, the radio group automatically calculates the number of columns according to the editor's size.

See Also