Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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