$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
GridView Windows Forms Control
ExpressionEditor of GridView create expressions for grid in C# WinForms applications
Home > WinForms UI Controls > User Manual > Display Data Grid with Expression Editor in C#

End-user Support of ExpressionEditor to GridView

The ExpressionEditor of GridView is a powerful editor used for create complex expressions. It is easy to access the predefined functions, operators, and constants as well as GridView fields. The Expression Builder of the editor allows the users easily look up and add components and fast enter accurate expressions as well. It is able to start the Expression editor from the context menu in a specific grid column, initialize it by using C# code and use it at design time. Moreover, the end users can simply use the ExpressionEditor.

How to Use the ExpressionEditor by End-Users

The ExpressionEditor provides the end users support. To access to and use the ExpressionEditor at runtime, there are two ways available for the end-users.

Display ExpressionEditor from Kettic GridView User Interface

To display ExpressionEditor from Kettic GridView user interface, the expression editor column should be an unbound and the end-users are able to navigate to the built-in menu item from the context menu of KetticGridView. This menu item can be enabled by changing the value of EnableExpressionEditor property to true. The following are the C# code that shows how to achieve this.

GridViewTextBoxColumn col = new GridViewTextBoxColumn();
col.Name = "expression";
col.HeaderText = "My Expression";
col.Width = 200;
col.EnableExpressionEditor = true;
this.ketticGridView1.Columns.Add(col);

Display ExpressionEditor on a Custom User Action

The Kettic GridView allows the users to display the ExpressionEditor on a custom user action, like on a button click. It does not require the using of the standard UI of the KetticGridView. This can be achieved through calling the static Display method of the KetticExpressionEditorForm C# class. The following is the C# code to display the ExpressionEditor.

KetticExpressionEditorForm.Show(this.ketticGridView1, this.ketticGridView1.Columns["expression"]);
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls