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 Rad
Declaration
public RadExpressionEditorForm(ExpressionFormattingObject formattingObject, GridViewTemplate template)
Parameters
Expression The formatting object. |
Grid The template. |
RadExpressionEditorForm(GridViewDataColumn)
Initializes a new instance of the Rad
Declaration
public RadExpressionEditorForm(GridViewDataColumn referencedColumn)
Parameters
Grid The referenced column. |
Fields
listSelectedItemClicked
Declaration
protected bool listSelectedItemClicked
Field Value
System.
|
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. The expression. |
ExpressionItemsList
Gets the expression items list.
Declaration
public static ExpressionItemsList ExpressionItemsList { get; }
Property Value
Expression The expression items list. |
FieldList
Gets the field list.
Declaration
public ExpressionItemsList FieldList { get; }
Property Value
Expression The field list. |
FormattingObject
Gets the formatting object.
Declaration
public ExpressionFormattingObject FormattingObject { get; }
Property Value
Expression The formatting object. |
ReferencedColumn
Gets the referenced column.
Declaration
public GridViewDataColumn ReferencedColumn { get; }
Property Value
Grid The referenced column. |
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
Grid The template. |
ThemeName
Set the theme name, which should be applied to the expression builder
Declaration
public static string ThemeName { set; }
Property Value
System.
|
TreeNodeAggregate
Gets the tree node aggregate.
Declaration
public RadTreeNode TreeNodeAggregate { get; }
Property Value
Rad The tree node aggregate. |
TreeNodeConstants
Gets the tree node constants.
Declaration
public RadTreeNode TreeNodeConstants { get; }
Property Value
Rad The tree node constants. |
TreeNodeDateTime
Gets the tree node date time.
Declaration
public RadTreeNode TreeNodeDateTime { get; }
Property Value
Rad The tree node date time. |
TreeNodeFields
Gets the tree node fields.
Declaration
public RadTreeNode TreeNodeFields { get; }
Property Value
Rad The tree node fields. |
TreeNodeFunctions
Gets the tree node functions.
Declaration
public RadTreeNode TreeNodeFunctions { get; }
Property Value
Rad The tree node functions. |
TreeNodeLogical
Gets the tree node logical.
Declaration
public RadTreeNode TreeNodeLogical { get; }
Property Value
Rad The tree node logical. |
TreeNodeMath
Gets the tree node math.
Declaration
public RadTreeNode TreeNodeMath { get; }
Property Value
Rad The tree node math. |
TreeNodeOperators
Gets the tree node operators.
Declaration
public RadTreeNode TreeNodeOperators { get; }
Property Value
Rad The tree node operators. |
TreeNodeOther
Gets the tree node other.
Declaration
public RadTreeNode TreeNodeOther { get; }
Property Value
Rad The tree node other. |
TreeNodeText
Gets the tree node text.
Declaration
public RadTreeNode TreeNodeText { get; }
Property Value
Rad The tree node text. |
Methods
AddExpressionToTextBox(String)
Adds the expression to text box.
Declaration
protected virtual void AddExpressionToTextBox(string expressionValue)
Parameters
System. The expression value. |
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System. 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
Grid The view template. |
OnButtonCancelClick(Object, EventArgs)
Called when the cancel button is clicked.
Declaration
protected virtual void OnButtonCancelClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnButtonFunctionClick(Object, EventArgs)
Called when the function button is clicked.
Declaration
protected virtual void OnButtonFunctionClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnButtonFunctionToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
Called when the tooltip for the function button is needed].
Declaration
protected virtual void OnButtonFunctionToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters
System. The sender. |
Tool The Tool |
OnButtonOKClick(Object, EventArgs)
Called when the OK button is clicked.
Declaration
protected virtual void OnButtonOKClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnClosing(CancelEventArgs)
Raises the System.
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
System. A System. |
OnListControlFunctionsListDoubleClick(Object, EventArgs)
Called when the list control functions list is double clicked.
Declaration
protected virtual void OnListControlFunctionsListDoubleClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnListControlFunctionsListMouseDown(Object, MouseEventArgs)
Called when the list control functions list handles mouse down.
Declaration
protected virtual void OnListControlFunctionsListMouseDown(object sender, MouseEventArgs e)
Parameters
System. The sender. |
System. The System. |
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. The sender. |
Rad The Rad |
OnLoad(EventArgs)
Fires when the form is loaded.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.
|
Overrides
OnShown(EventArgs)
Raises the System.
Declaration
protected override void OnShown(EventArgs e)
Parameters
System. A System. |
Overrides
OnTextBoxExpressionGotFocus(Object, EventArgs)
Called when the text box expression got focus.
Declaration
protected virtual void OnTextBoxExpressionGotFocus(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnTextBoxExpressionTextChanged(Object, EventArgs)
Called when the text box expression text is changed.
Declaration
protected virtual void OnTextBoxExpressionTextChanged(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
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. The sender. |
Rad The Rad |
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
Rad Referenced RadGridView |
Grid
|
Show(RadGridView, GridViewDataColumn, RadExpressionEditorForm)
Shows expression builder for specified column
Declaration
public static void Show(RadGridView radGridView, GridViewDataColumn column, RadExpressionEditorForm form)
Parameters
Rad Referenced RadGridView |
Grid
|
Rad
|