Skip to main content
.NET 6.0+

CaptionHelper.GetBoolText(Boolean) Method

Returns the default display caption corresponding to a Boolean value.

Namespace: DevExpress.ExpressApp.Utils

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