Skip to main content
A newer version of this page is available. .

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

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