Skip to main content
All docs
V24.1

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.1.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