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, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadExpressionEditorForm...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadExpressionEditorForm class.
public RadExpressionEditorForm(ExpressionFormattingObject formattingObject, GridViewTemplate template)
The formatting object.
templateGridViewTemplateThe template.
Initializes a new instance of the RadExpressionEditorForm class.
public RadExpressionEditorForm(GridViewDataColumn referencedColumn)
The referenced column.
Fields
protected bool listSelectedItemClicked
protected RadButton radButtonAnd
protected RadButton radButtonCancel
protected RadButton radButtonDivide
protected RadButton radButtonEqual
protected RadButton radButtonGreater
protected RadButton radButtonGreaterOrEqual
protected RadButton radButtonLess
protected RadButton radButtonLessOrEqual
protected RadButton radButtonMinus
protected RadButton radButtonModulo
protected RadButton radButtonMultiply
protected RadButton radButtonNonequal
protected RadButton radButtonNot
protected RadButton radButtonOK
protected RadButton radButtonOr
protected RadButton radButtonPlus
protected RadLabel radLabelDescription
protected RadTreeView radListControlFunctionsList
radTextBoxExpression
RadTextBox
protected RadTextBox radTextBoxExpression
protected RadTreeView radTreeViewFunctions
Properties
Gets or sets the expression.
public string Expression { get; set; }
The expression.
ExpressionItemsList
ExpressionItemsList
Gets the expression items list.
public static ExpressionItemsList ExpressionItemsList { get; }
The expression items list.
FieldList
ExpressionItemsList
Gets the field list.
public ExpressionItemsList FieldList { get; }
The field list.
Gets the formatting object.
public ExpressionFormattingObject FormattingObject { get; }
The formatting object.
Gets the referenced column.
public GridViewDataColumn ReferencedColumn { get; }
The referenced column.
Gets the template.
public GridViewTemplate Template { get; }
The template.
Set the theme name, which should be applied to the expression builder
public static string ThemeName { set; }
Gets the tree node aggregate.
public RadTreeNode TreeNodeAggregate { get; }
The tree node aggregate.
Gets the tree node constants.
public RadTreeNode TreeNodeConstants { get; }
The tree node constants.
Gets the tree node date time.
public RadTreeNode TreeNodeDateTime { get; }
The tree node date time.
Gets the tree node fields.
public RadTreeNode TreeNodeFields { get; }
The tree node fields.
Gets the tree node functions.
public RadTreeNode TreeNodeFunctions { get; }
The tree node functions.
Gets the tree node logical.
public RadTreeNode TreeNodeLogical { get; }
The tree node logical.
Gets the tree node math.
public RadTreeNode TreeNodeMath { get; }
The tree node math.
Gets the tree node operators.
public RadTreeNode TreeNodeOperators { get; }
The tree node operators.
Gets the tree node other.
public RadTreeNode TreeNodeOther { get; }
The tree node other.
Gets the tree node text.
public RadTreeNode TreeNodeText { get; }
The tree node text.
Methods
Adds the expression to text box.
protected virtual void AddExpressionToTextBox(string expressionValue)
The expression value.
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Initializes the tree nodes.
protected virtual void InitializeTreeNodes()
Loads the field list.
public virtual void LoadFieldList(GridViewTemplate viewTemplate)
The view template.
Called when the tooltip for the function button is needed].
protected virtual void OnButtonFunctionToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
The sender.
eToolTipTextNeededEventArgsThe ToolTipTextNeededEventArgs instance containing the event data.
Raises the Closing event.
protected override void OnClosing(CancelEventArgs e)
A CancelEventArgs that contains the event data.
Overrides:
Called when the list control functions list handles mouse down.
protected virtual void OnListControlFunctionsListMouseDown(object sender, MouseEventArgs e)
The sender.
eMouseEventArgsThe MouseEventArgs instance containing the event data.
Called when the selected node in the list control functions list is changed].
protected virtual void OnListControlFunctionsListSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
The sender.
eRadTreeViewEventArgsThe RadTreeViewEventArgs instance containing the event data.
Fires when the form is loaded.
Called when the functions tree view's selected node is changed.
protected virtual void OnTreeViewFunctionsSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
The sender.
eRadTreeViewEventArgsThe RadTreeViewEventArgs instance containing the event data.
Sets the visible function tree nodes.
protected virtual void SetVisibleFunctionTreeNodes()
Shows expression builder for specified column
public static void Show(RadGridView radGridView, GridViewDataColumn column, RadExpressionEditorForm form)
Referenced RadGridView
columnGridViewDataColumnformRadExpressionEditorFormShows expression builder for specified column
public static void Show(RadGridView radGridView, GridViewDataColumn column)
Referenced RadGridView
columnGridViewDataColumn