ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / GetLocalizedString Event

In This Topic
    GetLocalizedString Event (C1FlexPivotGrid)
    In This Topic
    Occurs when the filter localizes a string in the user interface.
    Syntax
    'Declaration
     
    Public Event GetLocalizedString As GetLocalizedStringEventHandler
    public event GetLocalizedStringEventHandler GetLocalizedString
    Event Data

    The event handler receives an argument of type GetLocalizedStringEventArgs containing data related to this event. The following GetLocalizedStringEventArgs properties provide information specific to this event.

    PropertyDescription
    Component being localized.  
    Gets the name of the component being localized.  
    Parent of the component being localized.  
    Gets or sets the value of the localized string.  
    Remarks

    The C1.Win.C1FlexGrid.C1FlexGrid control automatically localizes the column filter based on the system's current culture and in the setting of the C1.Win.C1FlexGrid.C1FlexGridBase.Language property.

    This event allows you to customize the filter strings or to implement localization to languages that are not supported by the grid's built-in localization mechanism.

    To modify the content of any of the filter's UI elements, handle this event and set the e.Value parameter to the text you would like to display.

    Example
    The example below shows how you can change the strings in the filter UI based on the string value and on the name of the controls being localized:
    See Also