FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGridBase Class / IgnoreDiacritics Property

In This Topic
    IgnoreDiacritics Property (C1FlexGridBase)
    In This Topic
    Gets or sets a value that determines whether the filter should ignore diacritics (accents) when comparing values.
    Syntax
    'Declaration
     
    
    Public Property IgnoreDiacritics As Boolean
    public bool IgnoreDiacritics {get; set;}
    Remarks

    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.

    See Also