Skip to main content
.NET Framework 4.5.2+

CaptionHelper.GetBoolText(Boolean) Method

Returns the default display caption corresponding to a Boolean value.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.1.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