Back to Devexpress

RepositoryItemCheckEdit.Caption Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedit-e47b8798.md

latest2.6 KB
Original Source

RepositoryItemCheckEdit.Caption Property

Gets or sets the caption of the current CheckEdit.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("CheckEdit")]
public override string Caption { get; set; }
vb
<DefaultValue("CheckEdit")>
Public Overrides Property Caption As String

Property Value

TypeDefaultDescription
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 Also

GlyphAlignment

Text

Caption

RepositoryItemCheckEdit Class

RepositoryItemCheckEdit Members

DevExpress.XtraEditors.Repository Namespace