Skip to main content
.NET Framework 4.6.2+

PropertyEditor.CanFormatPropertyValue Property

Gets whether or not the PropertyEditor‘s value can be formatted.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual bool CanFormatPropertyValue { get; }

Property Value

Type Description
Boolean

true, if the value can be formatted; otherwise - false. The default is false.

Remarks

The CanFormatPropertyValue always returns false. This behavior should be overridden in descendants that use the PropertyEditor.DisplayFormat and/or PropertyEditor.EditMask properties to format a property value.

A custom PropertyEditor class will use the default formatting from the Application Model only if it overrides the CanFormatPropertyValue property in order to return true there.

See Also