Skip to main content
A newer version of this page is available. .

RepositoryItemCheckEdit.Caption Property

Gets or sets the caption of the current CheckEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue("CheckEdit")]
public override string Caption { get; set; }

Property Value

Type Default Description
String "CheckEdit"

A String value that is the caption of the current CheckEdit.

Remarks

The Caption property specifies the text label associated with the CheckEdit control. You can change the caption position via the BaseRepositoryItemCheckEdit.GlyphAlignment property.

Note

If the BaseRepositoryItemCheckEdit.GlyphAlignment property equals Center, the caption is not displayed.

The Caption property is closely associated with the BaseCheckEdit.Text property. Modifying the Caption property affects the value returned by the Text property and vice versa.

The Caption property overrides the BaseRepositoryItemCheckEdit.Caption property. See this link to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption 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