Back to Devexpress

TextEditBase.AlwaysShowLabelAtTop Property

wpf-devexpress-dot-xpf-dot-editors-dot-texteditbase-4d1645ab.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AlwaysShowLabelAtTop { get; set; }
vb
Public Property AlwaysShowLabelAtTop As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

Label

TextEditBase Class

TextEditBase Members

DevExpress.Xpf.Editors Namespace