Skip to main content

MaskAttributeBase.UseAsDisplayFormat Property

Specifies whether display values are still formatted using the mask when the editor is not focused. This is a dependency property.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public bool UseAsDisplayFormat { get; set; }

Property Value

Type Description
Boolean

true if the mask settings are used to format display values when the editor is not focused; otherwise, false.

Remarks

Set the UseAsDisplayFormat property to true to use the mask settings to format the display text when the editor is not focused. As a result, the editor’s text in edit and display modes will be identical.

See Also