Skip to main content
A newer version of this page is available. .
All docs
V21.2

SpreadsheetBehaviorOptions.LocalizeBooleanValues Property

Specifies whether to localize TRUE and FALSE values in the Spreadsheet control. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v21.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public bool LocalizeBooleanValues { get; set; }

Property Value

Type Description
Boolean

true to localize Boolean values; otherwise, false. The default value is true.

Property Paths

You can access this nested property as listed below:

Object Type Path to LocalizeBooleanValues
SpreadsheetControlOptions
.Behavior .LocalizeBooleanValues

Remarks

The DevExpress WPF Spreadsheet control uses the standard localization mechanism from the .NET framework—Satellite Resource Assemblies (libraries that contain translated resources). Satellite assemblies for the following languages are included in the DevExpress Unified Component Installer and available in the DevExpress NuGet Gallery:

  • German
  • Spanish
  • Japanese
  • Russian

Use the DevExpress Localization Service to obtain satellite assemblies for other cultures. Add translations for the XtraSpreadsheetFunctionNameStringId.True and XtraSpreadsheetFunctionNameStringId.False strings to localize Boolean values, download the modified satellite assemblies, and include them in your project. If you are new to our Localization Service, refer to the following help topic for assistance: Localizing WPF Controls via Satellite Resource Assemblies.

After you add localization resources to your application, use the SpreadsheetControl.Options.Culture property to set the control’s culture. If satellite assemblies for this culture are not found, the invariant (English) culture is used.

See Also