Skip to main content

RepositoryItemLookUpEdit.ShowHeader Property

Gets or sets the visibility of column headers.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool ShowHeader { get; set; }

Property Value

Type Default Description
Boolean true

true if column headers are visible; otherwise, false.

Remarks

The ShowHeader property determines the visibility of the column header panel. The panel displays column captions specified by the LookUpColumnInfo.Caption properties. If an incremental search is being performed, a search glyph (binoculars) is displayed in the appropriate column header. The incremental search is available when the RepositoryItemLookUpEdit.SearchMode property is set to SearchMode.AutoComplete or SearchMode.OnlyInPopup. The incremental search column is identified by the RepositoryItemLookUpEdit.AutoSearchColumnIndex property. The end-user can click on a column header and thus select another column for the search.

See the RepositoryItemLookUpEditBase.ShowFooter property to specify the visibility of the footer region.

The images below show lookup editors when the header panel is visible and hidden.

ShowHeader value Image
true LookupEdit_ShowHeader_true
false LookupEdit_ShowHeader_false

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