Skip to main content

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

BaseEditSettings.GetDisplayText(Object, Boolean) Method

Returns the display representation of the specified value.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public virtual string GetDisplayText(
    object editValue,
    bool applyFormatting
)

#Parameters

Name Type Description
editValue Object

An object that represents the value to format.

applyFormatting Boolean

true to apply formatting specified by the BaseEditSettings.DisplayFormat property; otherwise, false.

#Returns

Type Description
String

A String value that represents the specified value formatted for display purposes.

See Also