Back to Devexpress

RepositoryItemRadioGroup.ItemVertAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemradiogroup-fa19524f.md

latest3.3 KB
Original Source

RepositoryItemRadioGroup.ItemVertAlignment Property

Gets or set whether items are aligned at the top edge of the control or justified.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RadioItemVertAlignment.Justify)]
[DXCategory("Appearance")]
public RadioItemVertAlignment ItemVertAlignment { get; set; }
vb
<DefaultValue(RadioItemVertAlignment.Justify)>
<DXCategory("Appearance")>
Public Property ItemVertAlignment As RadioItemVertAlignment

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.RadioItemVertAlignmentJustify

A DevExpress.XtraEditors.RadioItemVertAlignment enumeration value that specifies whether items are aligned at the top edge of the control or justified.

|

Remarks

Use the ItemVertAlignment and RepositoryItemRadioGroup.ItemHorzAlignment to specify how radio group items are aligned in the control. Items can be either aligned at the control’s edge or justified.

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

reporting-winforms-implement-custom-parameter-editor/CS/XtraReport1.cs#L37

csharp
radioGroup.Properties.ItemVertAlignment = RadioItemVertAlignment.Top;
radioGroup.MinimumSize = new System.Drawing.Size(0, 100);

reporting-winforms-implement-custom-parameter-editor/VB/XtraReport1.vb#L39

vb
radioGroup.Properties.ItemVertAlignment = RadioItemVertAlignment.Top
radioGroup.MinimumSize = New System.Drawing.Size(0, 100)

See Also

ItemHorzAlignment

RepositoryItemRadioGroup Class

RepositoryItemRadioGroup Members

DevExpress.XtraEditors.Repository Namespace