[]
Represents a collection of C1ExpressionEditor objects.
[ToolboxBitmap(typeof(ExpressionEditorCollection), "C1ExpressionEditor.png")]
public class ExpressionEditorCollection : Component, IComponent, IDisposable, IEnumerable, IExtenderProvider, INotifyPropertyChanged
| Name | Description |
|---|---|
| ExpressionEditorCollection() | Initializes a new instance of the ExpressionEditorCollection control. |
| Name | Description |
|---|---|
| Columns | Gets list of column names. |
| DataMember | Gets or sets DataMember for data source of ExpressionEditor in the collection. |
| DataSource | Gets or sets the data source with which ExpressionEditor will work. |
| IntelliAutoCompletionEnabled | Gets or sets a value indicating the IntelliAutoCompletion is enabled or not. |
| IntelliDescriptionEnabled | Gets or sets a value indicating if the IntelliDescription is enabled. |
| IntelliErrorsEnabled | Gets or sets a value indicating if the IntelliErrors is enabled. |
| IntelliSyntaxHighlightingEnabled | Gets or sets a value indicating if the IntelliSyntaxHighlighting is enabled. |
| this[string] | Gets or sets the item with specified name. |
| ItemContext | Gets or sets the object used as the context for evaluating an expression. |
| ShowErrorBox | Gets or sets a value that indicates whether to show error box under the editor. |
| SyntaxHighlighting | Gets or sets a value indicating whether to highlight syntax. |
| UnderlineErrors | Gets or sets a value indicating whether to underline errors. |
| Name | Description |
|---|---|
| Add(string) | Adds new C1ExpressionEditor object into collection. |
| AddAlias(string, string) | Adds an alias for a field from DataSource. |
| AddFunction(List<ExpressionItem>, Func<List<object>, object>, int, int) | Added a custom function to engine of C1ExpressionEditor. |
| Clear() | Clear the collection. |
| Contains(string) | Determines whether the ExpressionEditorCollection contains C1ExpressionEditor object associated with the specified column. |
| Dispose(bool) | Releases all unmanaged resources. |
| Evaluate(string) | Evaluate expressions of all C1ExpressionEditor. |
| GetEnumerator() | |
| GetExpressionEditorCollection(object) | Gets the ExpressionEditorCollection associated with specified object. |
| OnExpressionChanged(ExpressionCollectionEventArgs) | Rises the ExpressionChanged event. |
| OnPropertyChanged(string) | Rises the PropertyChanged event. |
| OpenExpressionEditorForm(string, string, bool, Point?) | Opens ExpressionEditorForm to edit expression of C1ExpressionEditor with specified column name. |
| Remove(string) | Removes C1ExpressionEditor object associated with the specified column. |
| Rename(string, string) | Rename column associated with some of C1ExpressionEditor objects. |
| Reset() | Resets properties to it default value. |
| SetCustomEngine(IEngine, IExpressionLexer) | Set a custom engine to the expression editors. |
| SetExpressionEditorCollection(object, ExpressionEditorCollection) | Sets the ExpressionEditorCollection associated with specified object. |
| ShowAboutBox() | Shows the About Box for an instance of C1ExpressionEditor. |
| Update(string, string) | Updates the expression for the specified column. Adds new C1ExpressionEditor object into collection if needed. |
| Name | Description |
|---|---|
| ExpressionChanged | Occurs when expression string of any item changed. |
| PropertyChanged | Occurs when a property value changes. |