Back to Devexpress

ButtonEdit.ShowNullValueButtonOnFocusOnly Property

wpf-devexpress-dot-xpf-dot-editors-dot-buttonedit-ad644873.md

latest1.4 KB
Original Source

ButtonEdit.ShowNullValueButtonOnFocusOnly Property

Gets or sets whether the editor should display the null value button when the editor is focused only. 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 ShowNullValueButtonOnFocusOnly { get; set; }
vb
Public Property ShowNullValueButtonOnFocusOnly As Boolean

Property Value

TypeDescription
Boolean

true , to display the null value button only when the editor is focused; false , to always display the null value button.

|

Remarks

Use the ShowNullValueButtonOnFocusOnly to change the null value button visibility depending on editor focus. When the editor value is null, the null value button is hidden.

See Also

ButtonEdit Class

ButtonEdit Members

DevExpress.Xpf.Editors Namespace