Back to Devexpress

SpreadsheetBehaviorOptions.FunctionNameCulture Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetbehavioroptions-2f34e4ad.md

latest3.7 KB
Original Source

SpreadsheetBehaviorOptions.FunctionNameCulture Property

Specifies whether to localize function names in the Spreadsheet control.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[DefaultValue(FunctionNameCulture.Auto)]
public FunctionNameCulture FunctionNameCulture { get; set; }
vb
<DefaultValue(FunctionNameCulture.Auto)>
Public Property FunctionNameCulture As FunctionNameCulture

Property Value

TypeDefaultDescription
FunctionNameCultureAuto

Specifies culture settings for function names.

|

Available values:

NameDescription
English

English function names are used regardless of the Workbook or Spreadsheet control’s culture settings.

| | Local |

Function names are retrieved from the satellite resource assemblies for the specified culture.

| | Auto |

Function names are retrieved from the satellite resource assemblies for the specified culture. If satellite assemblies are not found, the invariant (English) names are used.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FunctionNameCulture
SpreadsheetControlOptions

.Behavior .FunctionNameCulture

|

Remarks

The DevExpress WinForms 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

Use the DevExpress Localization Service to obtain satellite assemblies for other cultures. Add translations for strings that correspond to function names, 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 WinForms Controls with 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

LocalizeBooleanValues

SpreadsheetBehaviorOptions Class

SpreadsheetBehaviorOptions Members

DevExpress.XtraSpreadsheet Namespace