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

CaptionHelper.GetBoolText(Boolean) Method

Returns the default display caption corresponding to a Boolean value.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public static string GetBoolText(
    bool value
)

#Parameters

Name Type Description
value Boolean

A Boolean value for which the default display caption must be determined.

#Returns

Type Description
String

“True” if the value is true; otherwise, “False”.

#Remarks

Generally, you do not need to use this method.

See Also