TdxDiacriticStringComparisonMode Enum
Enumerates comparison modes for string data that contains characters with diacritic marks.
Declaration
TdxDiacriticStringComparisonMode = (
Sensitive,
Insensitive,
Auto
);
Members
Name | Description |
---|---|
Sensitive
|
Default. String data search, filter, and sort operations always treat all character varieties with different diacritic marks as different characters. The TdxDiacriticStringOptions.NormalizationMode property value has no effect in this mode. |
Insensitive
|
String comparison operations treat all character varieties with different diacritic marks as the same character. Insensitive string comparison is useful if you need less strict text search and filter criteria for the target language that uses diacritic marks. Note This mode may reduce overall application performance because diacritic-insensitive string normalization and comparison algorithms are more time-consuming. |
Auto
|
The automatic string comparison mode for languages with diacritic marks. String data search, filter, and sort operations are diacritic-insensitive only for the languages listed in the Remarks section. |
Remarks
All DevExpress data controllers[1] and text field-based editors can interpret characters with different diacritic marks as different characters (default) or as the same character.
Note
TdxDiacriticStringComparisonMode
is a scoped enumeration type. Use the type name together with a scope resolution token (.
in Delphi or ::
in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxDiacriticStringComparisonMode.Auto
(in Delphi) or TdxDiacriticStringComparisonMode::Auto
(in C++Builder) to refer to the Auto
value in code.
Affected Languages in Automatic Mode
String comparison is diacritic-insensitive only for the following languages if Auto
mode is active:
- Afrikaans (South Africa)
- Albanian (Albania)
- Azerbaijani (Latin, Azerbaijan)
- Basque (Basque)
- Bosnian (Latin, Bosnia and Herzegovina)
- Catalan (Catalan)
- Croatian (Croatia)
- Czech (Czech Republic)
- Danish (Denmark)
- Dutch (Netherlands)
- English (United Kingdom)
- Estonian (Estonia)
- Finnish (Finland)
- French (France)
- Galician (Galician)
- German (Germany)
- Greek (Greece)
- Hungarian (Hungary)
- Icelandic (Iceland)
- Irish (Ireland)
- Italian (Italy)
- Latvian (Latvia)
- Lithuanian (Lithuania)
- Luxembourgish (Luxembourg)
- Macedonian (Macedonia, FYRO)
- Maltese (Malta)
- Norwegian, Bokmål (Norway)
- Norwegian, Nynorsk (Norway)
- Polish (Poland)
- Portuguese (Brazil)
- Romanian (Romania)
- Russian (Russia)
- Serbian (Latin, Serbia)
- Slovak (Slovakia)
- Slovenian (Slovenia)
- Spanish (Spain)
- Swedish (Sweden)
- Turkish (Turkey)
- Ukrainian (Ukraine)
- Welsh (United Kingdom)
Direct TdxDiacriticStringComparisonMode Type Reference
The TdxDiacriticStringOptions.ComparisonMode class property references the TdxDiacriticStringComparisonMode
type.
TdxDiacriticStringComparisonMode Type