ClassRadExpressionEditorForm
Represents a dialog for building expressions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class RadExpressionEditorForm : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadExpressionEditorForm
Implements:
Inherited Members
Constructors
RadExpressionEditorForm(ExpressionFormattingObject, GridViewTemplate)
Initializes a new instance of the RadExpressionEditorForm class.
Declaration
public RadExpressionEditorForm(ExpressionFormattingObject formattingObject, GridViewTemplate template)
Parameters
formattingObject
The formatting object.
template
The template.
RadExpressionEditorForm(GridViewDataColumn)
Initializes a new instance of the RadExpressionEditorForm class.
Declaration
public RadExpressionEditorForm(GridViewDataColumn referencedColumn)
Parameters
referencedColumn
The referenced column.
Fields
radListControlFunctionsList
Declaration
protected RadTreeView radListControlFunctionsList
Field Value
radTextBoxExpression
Declaration
protected RadTextBox radTextBoxExpression
Field Value
RadTextBox
Properties
Expression
Gets or sets the expression.
Declaration
public string Expression { get; set; }
Property Value
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
The formatting object.
ReferencedColumn
Gets the referenced column.
Declaration
public GridViewDataColumn ReferencedColumn { get; }
Property Value
The referenced column.
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
The template.
ThemeName
Set the theme name, which should be applied to the expression builder
TreeNodeAggregate
Gets the tree node aggregate.
Declaration
public RadTreeNode TreeNodeAggregate { get; }
Property Value
The tree node aggregate.
TreeNodeConstants
Gets the tree node constants.
Declaration
public RadTreeNode TreeNodeConstants { get; }
Property Value
The tree node constants.
TreeNodeDateTime
Gets the tree node date time.
Declaration
public RadTreeNode TreeNodeDateTime { get; }
Property Value
The tree node date time.
TreeNodeFields
Gets the tree node fields.
Declaration
public RadTreeNode TreeNodeFields { get; }
Property Value
The tree node fields.
TreeNodeFunctions
Gets the tree node functions.
Declaration
public RadTreeNode TreeNodeFunctions { get; }
Property Value
The tree node functions.
TreeNodeLogical
Gets the tree node logical.
Declaration
public RadTreeNode TreeNodeLogical { get; }
Property Value
The tree node logical.
TreeNodeMath
Gets the tree node math.
Declaration
public RadTreeNode TreeNodeMath { get; }
Property Value
The tree node math.
TreeNodeOperators
Gets the tree node operators.
Declaration
public RadTreeNode TreeNodeOperators { get; }
Property Value
The tree node operators.
TreeNodeOther
Gets the tree node other.
Declaration
public RadTreeNode TreeNodeOther { get; }
Property Value
The tree node other.
TreeNodeText
Gets the tree node text.
Declaration
public RadTreeNode TreeNodeText { get; }
Property Value
The tree node text.
Methods
AddExpressionToTextBox(string)
Adds the expression to text box.
Declaration
protected virtual void AddExpressionToTextBox(string expressionValue)
Parameters
expressionValue
The expression value.
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
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
viewTemplate
The view template.
OnButtonCancelClick(object, EventArgs)
Called when the cancel button is clicked.
OnButtonFunctionClick(object, EventArgs)
Called when the function button is clicked.
OnButtonFunctionToolTipTextNeeded(object, ToolTipTextNeededEventArgs)
Called when the tooltip for the function button is needed].
Declaration
protected virtual void OnButtonFunctionToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters
sender
The sender.
e
The ToolTipTextNeededEventArgs instance containing the event data.
OnButtonOKClick(object, EventArgs)
Called when the OK button is clicked.
OnClosing(CancelEventArgs)
Raises the Closing event.
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
e
A CancelEventArgs that contains the event data.
Overrides
OnListControlFunctionsListDoubleClick(object, EventArgs)
Called when the list control functions list is double clicked.
OnListControlFunctionsListMouseDown(object, MouseEventArgs)
Called when the list control functions list handles mouse down.
Declaration
protected virtual void OnListControlFunctionsListMouseDown(object sender, MouseEventArgs e)
Parameters
sender
The sender.
e
The 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
sender
The sender.
e
The RadTreeViewEventArgs instance containing the event data.
OnLoad(EventArgs)
Fires when the form is loaded.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
e
Overrides
OnShown(EventArgs)
Raises the Shown event.
OnTextBoxExpressionGotFocus(object, EventArgs)
Called when the text box expression got focus.
OnTextBoxExpressionTextChanged(object, EventArgs)
Called when the text box expression text is changed.
OnTreeViewFunctionsSelectedNodeChanged(object, RadTreeViewEventArgs)
Called when the functions tree view's selected node is changed.
Declaration
protected virtual void OnTreeViewFunctionsSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
Parameters
sender
The sender.
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
Referenced RadGridView
column
Show(RadGridView, GridViewDataColumn, RadExpressionEditorForm)
Shows expression builder for specified column
Declaration
public static void Show(RadGridView radGridView, GridViewDataColumn column, RadExpressionEditorForm form)
Parameters
radGridView
Referenced RadGridView
column
form