[]
The C1ExpressionEditor control is used to dynamically produce an expression and get the result of the expression.
[StyleTypedProperty(Property = "ErrorBoxStyle", StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = "DescriptionPopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[StyleTypedProperty(Property = "SuggestListPopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[StyleTypedProperty(Property = "SuggestListStyle", StyleTargetType = typeof(C1ListView))]
[StyleTypedProperty(Property = "EditorStyle", StyleTargetType = typeof(C1RichTextBox))]
[TemplatePart(Name = "InputEditor", Type = typeof(C1RichTextBox))]
[TemplatePart(Name = "ExpressionErrors", Type = typeof(TextBlock))]
[TemplatePart(Name = "IntellisensePopup", Type = typeof(Popup))]
[TemplatePart(Name = "IntellisenseBox", Type = typeof(C1ListView))]
[TemplatePart(Name = "DescriptionPopup", Type = typeof(Popup))]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
public class C1ExpressionEditor : C1View
<StyleTypedProperty(Property:="ErrorBoxStyle", StyleTargetType:=GetType(TextBlock))>
<StyleTypedProperty(Property:="DescriptionPopupStyle", StyleTargetType:=GetType(C1PopupBorder))>
<StyleTypedProperty(Property:="SuggestListPopupStyle", StyleTargetType:=GetType(C1PopupBorder))>
<StyleTypedProperty(Property:="SuggestListStyle", StyleTargetType:=GetType(C1ListView))>
<StyleTypedProperty(Property:="EditorStyle", StyleTargetType:=GetType(C1RichTextBox))>
<TemplatePart(Name:="InputEditor", Type:=GetType(C1RichTextBox))>
<TemplatePart(Name:="ExpressionErrors", Type:=GetType(TextBlock))>
<TemplatePart(Name:="IntellisensePopup", Type:=GetType(Popup))>
<TemplatePart(Name:="IntellisenseBox", Type:=GetType(C1ListView))>
<TemplatePart(Name:="DescriptionPopup", Type:=GetType(Popup))>
<TemplateVisualState(Name:="Normal", GroupName:="CommonStates")>
<TemplateVisualState(Name:="MouseOver", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Focused", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Disabled", GroupName:="CommonStates")>
Public Class C1ExpressionEditor
Inherits C1View
| Name | Description |
|---|---|
| C1ExpressionEditor() | Initializes a new instance of the C1ExpressionEditor class. |
| Name | Description |
|---|---|
| ConstantsStyleProperty | Identifies the ConstantsStyle dependency property. |
| DescriptionPopupStyleProperty | Identifies the DescriptionPopupStyle dependency property. |
| EditorStyleProperty | Identifies the EditorStyle dependency property. |
| EngineProperty | Identifies the Engine dependency property. |
| ErrorBoxStyleProperty | Identifies the ErrorBoxStyle dependency property. |
| FieldsStyleProperty | Identifies the FieldsStyle dependency property. |
| FunctionsStyleProperty | Identifies the FunctionsStyle dependency property. |
| IsReadOnlyProperty | Identifies the IsReadOnly dependency property. |
| NumbersStyleProperty | Identifies the NumbersStyle dependency property. |
| OperatorsStyleProperty | Identifies the OperatorsStyle dependency property. |
| ShowErrorBoxProperty | Identifies the ShowErrorBox dependency property. |
| StringsStyleProperty | Identifies the StringsStyle dependency property. |
| SuggestListPopupStyleProperty | Identifies the SuggestListPopupStyle dependency property. |
| SuggestListStyleProperty | Identifies the SuggestListStyle dependency property. |
| SyntaxHighlightingProperty | Identifies the SyntaxHighlighting dependency property. |
| UnderlineBrushProperty | Identifies the UnderlineBrush dependency property. |
| UnderlineErrorsProperty | Identifies the UnderlineErrors dependency property. |
| Name | Description |
|---|---|
| ConstantsStyle | Gets or sets SyntaxStyle that defines the syntax style of the constants. |
| DescriptionPopupStyle | Gets or sets a style for the description popup. |
| EditorStyle | Gets or sets the style applied to the input editor of the ExpressionEditor. |
| Engine | Gets or sets the expression engine which dynamically produce an expression and get the result of the expression. |
| ErrorBoxStyle | Gets or sets a style for the error box. |
| FieldsStyle | Gets or sets SyntaxStyle that defines the syntax style of the fields. |
| FunctionsStyle | Gets or sets SyntaxStyle that defines the syntax style of the functions. |
| IsFocused | Gets whether the control is focused. |
| IsReadOnly | Gets or sets a value that indicates whether the text editing control is read-only to a user interacting with the control. |
| NumbersStyle | Gets or sets SyntaxStyle that defines the syntax style of the numbers. |
| OperatorsStyle | Gets or sets SyntaxStyle that defines the syntax style of the operators. |
| SelectedText | Gets or sets the selected text in the expression content. |
| SelectionLength | Gets or sets the number of characters in the current selection in C1ExpressionEditor. |
| SelectionStart | Gets or sets the starting position of the text selected in C1ExpressionEditor. |
| ShowErrorBox | Gets or sets a value indicating whether an error box should be displayed. |
| StringsStyle | Gets or sets SyntaxStyle that defines the syntax style of the strings. |
| SuggestListPopupStyle | Gets or sets a style for the suggest list popup window. |
| SuggestListStyle | Gets or sets a style for the Editor suggest list. |
| SyntaxHighlighting | Gets or sets a value indicating whether syntax highlighting is enabled. |
| UnderlineBrush | Gets or sets a Brush for error underlines. |
| UnderlineErrors | Gets or sets a value indicating whether the control should underline errors. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| Dispose(bool) | |
| OnApplyTemplate() | |
| OnCreateAutomationPeer() |
| Name | Description |
|---|---|
| EngineChanged | Occurs when Engine changed. |