Class RadExpressionEditorForm
Represents a dialog for building expressions.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RadExpressionEditorForm : RadForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Constructors
RadExpressionEditorForm(ExpressionFormattingObject, GridViewTemplate)
Initializes a new instance of the RadExpressionEditorForm class.
Declaration
public RadExpressionEditorForm(ExpressionFormattingObject formattingObject, GridViewTemplate template)
Parameters
|
ExpressionFormattingObject
formattingObject
The formatting object. |
|
GridViewTemplate
template
The template. |
RadExpressionEditorForm(GridViewDataColumn)
Initializes a new instance of the RadExpressionEditorForm class.
Declaration
public RadExpressionEditorForm(GridViewDataColumn referencedColumn)
Parameters
|
GridViewDataColumn
referencedColumn
The referenced column. |
Fields
listSelectedItemClicked
Declaration
protected bool listSelectedItemClicked
Field Value
|
System.Boolean
|
radButtonAnd
radButtonCancel
radButtonDivide
radButtonEqual
radButtonGreater
radButtonGreaterOrEqual
radButtonLess
radButtonLessOrEqual
radButtonMinus
radButtonModulo
radButtonMultiply
radButtonNonequal
radButtonNot
radButtonOK
radButtonOr
radButtonPlus
radLabelDescription
radListControlFunctionsList
radTextBoxExpression
radTreeViewFunctions
Properties
Expression
Gets or sets the expression.
Declaration
public string Expression { get; set; }
Property Value
|
System.String
The expression. |
ExpressionItemsList
Gets the expression items list.
Declaration
public static ExpressionItemsList ExpressionItemsList { get; }
Property Value
|
ExpressionItemsList
The expression items list. |
FieldList
Gets the field list.
Declaration
public ExpressionItemsList FieldList { get; }
Property Value
|
ExpressionItemsList
The field list. |
FormattingObject
Gets the formatting object.
Declaration
public ExpressionFormattingObject FormattingObject { get; }
Property Value
|
ExpressionFormattingObject
The formatting object. |
ReferencedColumn
Gets the referenced column.
Declaration
public GridViewDataColumn ReferencedColumn { get; }
Property Value
|
GridViewDataColumn
The referenced column. |
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
|
GridViewTemplate
The template. |
ThemeName
Set the theme name, which should be applied to the expression builder
Declaration
public static string ThemeName { set; }
Property Value
|
System.String
|
TreeNodeAggregate
Gets the tree node aggregate.
Declaration
public RadTreeNode TreeNodeAggregate { get; }
Property Value
|
RadTreeNode
The tree node aggregate. |
TreeNodeConstants
Gets the tree node constants.
Declaration
public RadTreeNode TreeNodeConstants { get; }
Property Value
|
RadTreeNode
The tree node constants. |
TreeNodeDateTime
Gets the tree node date time.
Declaration
public RadTreeNode TreeNodeDateTime { get; }
Property Value
|
RadTreeNode
The tree node date time. |
TreeNodeFields
Gets the tree node fields.
Declaration
public RadTreeNode TreeNodeFields { get; }
Property Value
|
RadTreeNode
The tree node fields. |
TreeNodeFunctions
Gets the tree node functions.
Declaration
public RadTreeNode TreeNodeFunctions { get; }
Property Value
|
RadTreeNode
The tree node functions. |
TreeNodeLogical
Gets the tree node logical.
Declaration
public RadTreeNode TreeNodeLogical { get; }
Property Value
|
RadTreeNode
The tree node logical. |
TreeNodeMath
Gets the tree node math.
Declaration
public RadTreeNode TreeNodeMath { get; }
Property Value
|
RadTreeNode
The tree node math. |
TreeNodeOperators
Gets the tree node operators.
Declaration
public RadTreeNode TreeNodeOperators { get; }
Property Value
|
RadTreeNode
The tree node operators. |
TreeNodeOther
Gets the tree node other.
Declaration
public RadTreeNode TreeNodeOther { get; }
Property Value
|
RadTreeNode
The tree node other. |
TreeNodeText
Gets the tree node text.
Declaration
public RadTreeNode TreeNodeText { get; }
Property Value
|
RadTreeNode
The tree node text. |
Methods
AddExpressionToTextBox(String)
Adds the expression to text box.
Declaration
protected virtual void AddExpressionToTextBox(string expressionValue)
Parameters
|
System.String
expressionValue
The expression value. |
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
Overrides
InitializeTreeNodes()
Initializes the tree nodes.
Declaration
protected virtual void InitializeTreeNodes()
LoadFieldList(GridViewTemplate)
Loads the field list.
Declaration
public virtual void LoadFieldList(GridViewTemplate viewTemplate)
Parameters
|
GridViewTemplate
viewTemplate
The view template. |
OnButtonCancelClick(Object, EventArgs)
Called when the cancel button is clicked.
Declaration
protected virtual void OnButtonCancelClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnButtonFunctionClick(Object, EventArgs)
Called when the function button is clicked.
Declaration
protected virtual void OnButtonFunctionClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnButtonFunctionToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
Called when the tooltip for the function button is needed].
Declaration
protected virtual void OnButtonFunctionToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
ToolTipTextNeededEventArgs
e
The ToolTipTextNeededEventArgs instance containing the event data. |
OnButtonOKClick(Object, EventArgs)
Called when the OK button is clicked.
Declaration
protected virtual void OnButtonOKClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnClosing(CancelEventArgs)
Raises the System.Windows.Forms.Form.Closing event.
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
|
System.ComponentModel.CancelEventArgs
e
A System.ComponentModel.CancelEventArgs that contains the event data. |
OnListControlFunctionsListDoubleClick(Object, EventArgs)
Called when the list control functions list is double clicked.
Declaration
protected virtual void OnListControlFunctionsListDoubleClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnListControlFunctionsListMouseDown(Object, MouseEventArgs)
Called when the list control functions list handles mouse down.
Declaration
protected virtual void OnListControlFunctionsListMouseDown(object sender, MouseEventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
OnListControlFunctionsListSelectedNodeChanged(Object, RadTreeViewEventArgs)
Called when the selected node in the list control functions list is changed].
Declaration
protected virtual void OnListControlFunctionsListSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
RadTreeViewEventArgs
e
The RadTreeViewEventArgs instance containing the event data. |
OnLoad(EventArgs)
Fires when the form is loaded.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
|
System.EventArgs
e
|
Overrides
OnShown(EventArgs)
Raises the System.Windows.Forms.Form.Shown event.
Declaration
protected override void OnShown(EventArgs e)
Parameters
|
System.EventArgs
e
A System.EventArgs that contains the event data. |
Overrides
OnTextBoxExpressionGotFocus(Object, EventArgs)
Called when the text box expression got focus.
Declaration
protected virtual void OnTextBoxExpressionGotFocus(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnTextBoxExpressionTextChanged(Object, EventArgs)
Called when the text box expression text is changed.
Declaration
protected virtual void OnTextBoxExpressionTextChanged(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnTreeViewFunctionsSelectedNodeChanged(Object, RadTreeViewEventArgs)
Called when the functions tree view's selected node is changed.
Declaration
protected virtual void OnTreeViewFunctionsSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
RadTreeViewEventArgs
e
The RadTreeViewEventArgs instance containing the event data. |
SetVisibleFunctionTreeNodes()
Sets the visible function tree nodes.
Declaration
protected virtual void SetVisibleFunctionTreeNodes()
Show(RadGridView, GridViewDataColumn)
Shows expression builder for specified column
Declaration
public static void Show(RadGridView radGridView, GridViewDataColumn column)
Parameters
|
RadGridView
radGridView
Referenced RadGridView |
|
GridViewDataColumn
column
|
Show(RadGridView, GridViewDataColumn, RadExpressionEditorForm)
Shows expression builder for specified column
Declaration
public static void Show(RadGridView radGridView, GridViewDataColumn column, RadExpressionEditorForm form)
Parameters
|
RadGridView
radGridView
Referenced RadGridView |
|
GridViewDataColumn
column
|
|
RadExpressionEditorForm
form
|