| True DBGrid for WinForms Task-Based Help > Changing the Filter Language |
To change the language used in the column filter editor, you can use the Language property.
Add the following code to the Form_Load event:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
Me.C1TrueDBGrid1.AllowFilter = True Me.C1TrueDBGrid1.Language = C1.Util.Localization.Language.Danish |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
this.c1TrueDBGrid1.AllowFilter = true; this.c1TrueDBGrid1.Language = C1.Util.Localization.Language.Danish; |
|
Notice the language of the column filter editor matches the language specified in the Language property.