[]
        
(Showing Draft Content)

C1.WPF.ExpressionEditor.C1ExpressionRichTextBox

C1ExpressionRichTextBox Class

Represents a rich editing control that contains expression editor.

Namespace: C1.WPF.ExpressionEditor
Assembly: C1.WPF.ExpressionEditor.4.6.2.dll
Syntax
[TemplatePart(Name = "IntellisensePopup", Type = typeof(Popup))]
[TemplatePart(Name = "IntellisenseBox", Type = typeof(ListBox))]
[TemplatePart(Name = "DescriptionToolTip", Type = typeof(ToolTip))]
public class C1ExpressionRichTextBox : RichTextBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1ExpressionRichTextBox()

Initializes a new instance of a C1ExpressionRichTextBox.

Fields

Name Description
ExpressionRulesProperty

Identifies the ExpressionRules dependency property.

SyntaxHighlightingProperty

Identifies the SyntaxHighlighting dependency property.

TextProperty

Identifies the Text dependency property.

UnderlineErrorsProperty

Identifies the UnderlineErrors dependency property.

Properties

Name Description
CurrentHighlighter

Gets or sets the interface of the ExpressionEditor highlighter.

ExpressionRules

Gets or sets the rules of the expression.

SyntaxHighlighting

Gets or sets a value indicating whether to highlight syntax.

Text

Gets or sets the text contents.

ToolTipDescription

Gets the tooltip description element of the editor.

UnderlineErrors

Gets or sets a value indicating whether to underline errors.

Methods

Name Description
Dispose()

Clean up events being used.

HideDescriptionToolTip()

Hides tooltip.

HighlighterContent()

Highlighter the content of the editor.

OnApplyTemplate()

Builds the visual tree for the C1ExpressionRichTextBox control when a new template is applied.

OnWordMouseEnter(WordLocationEventArgs)
OnWordMouseLeave(EventArgs)
ShowDescriptionToolTip(ExpressionItem, double, double)

Show the tooltip of description.

ShowDescriptionToolTip(ExpressionItem, double, double, int)

Show the tooltip of description.

Events

Name Description
WordMouseEnter

The event raised when mouse over on the word.

WordMouseLeave

The event raised when the mouse leaves from the word.