C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : IgnoreDiacritics Property |
'Declaration
<C1DescriptionAttribute("Gets or sets whether the filter should ignore diacritics (accents).")> <DefaultValueAttribute()> <C1CategoryAttribute("Behavior")> Public Property IgnoreDiacritics As Boolean
'Usage
Dim instance As C1FlexGridBase Dim value As Boolean instance.IgnoreDiacritics = value value = instance.IgnoreDiacritics
[C1Description("Gets or sets whether the filter should ignore diacritics (accents).")] [DefaultValue()] [C1Category("Behavior")] public bool IgnoreDiacritics {get; set;}
[C1Description("Gets or sets whether the filter should ignore diacritics (accents).")] [DefaultValue()] [C1Category("Behavior")] public: property bool IgnoreDiacritics { bool get(); void set ( bool value); }
By default, the filter compares values as they appear in the data source. For example, if you are looking for values that contain the string "fac", you will find "factory" but not "façade".
If you set this property to true, the filter will remove any diacritics before performing the comparisons. In this case, looking for the string "fac" will return both "factory" and "façade".
This property is especially useful in applications localized for languages that contain many accents, such as French, Spanish, Portuguese, etc.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2