The requested page is not available for the requested platform. You are viewing the content for Default platform.

PropertyEditor.CanFormatPropertyValue Property

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public virtual bool CanFormatPropertyValue { get; }
Public Overridable ReadOnly Property CanFormatPropertyValue As Boolean

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