Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TextEditBase.AlwaysShowLabelAtTop Property

Gets or sets whether to always display the embedded label at the top of the editor. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool AlwaysShowLabelAtTop { get; set; }

#Property Value

Type Default Description
Boolean false

true to always display the embedded label at the top of the editor; otherwise, false.

#Remarks

An empty and unfocused editor displays its Label in the middle. The editor displays this label at the top in the following cases:

  • The AlwaysShowLabelAtTop property is set to true.
  • The editor is focused or contains data.
  • The NullText property is specified.

Refer to the following help topic for more information: Embedded Labels.

See Also