Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[DXCategory("Data")]
public int Columns { get; set; }

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.

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