Muokkaa

Jaa


IExpressionEditorInstance Interface

Definition

Represents an expression editor instance.

public interface class IExpressionEditorInstance
public interface IExpressionEditorInstance
type IExpressionEditorInstance = interface
Public Interface IExpressionEditorInstance

Remarks

For a detailed description of an expression editor instance, see IExpressionEditorService.

Properties

AcceptsReturn

Gets or sets a value that indicates whether the expression editor instance accepts the RETURN key.

AcceptsTab

Gets or sets a value that indicates whether the expression editor instance accepts the TAB key.

HasAggregateFocus

Gets a value that indicates whether the instance has aggregate focus.

HorizontalScrollBarVisibility

Gets or sets a value that indicates whether the horizontal scrollbar is visible.

HostControl

Gets a Control instance that can be used to display in the ExpressionTextBox.

MaxLines

Gets or sets the maximum number of lines of text to be displayed by the ExpressionTextBox control. This property implicitly sets the height of the ExpressionTextBox control when growing to fit.

MinLines

Gets or sets the minimum number of lines of text to be displayed by the ExpressionTextBox control. This property implicitly sets the height of the ExpressionTextBox control.

Text

Gets or sets the value of the text.

VerticalScrollBarVisibility

Gets or sets a value that indicates whether the vertical scrollbar is visible.

Methods

CanCompleteWord()

Gets a value that indicates whether the expression editor instance can complete the string being typed by the user.

CanCopy()

Returns a value that indicates whether the expression editor instance can be closed.

CanCut()

Returns a value that indicates whether the expression can be cut.

CanDecreaseFilterLevel()

Returns a value that indicates whether the filter level can be decreased when using Intellisense filtering.

CanGlobalIntellisense()

Returns a value that indicates whether the expression editor instance can retrieve global IntelliSense on the expression.

CanIncreaseFilterLevel()

Returns a value that indicates whether the filter level can be increased when using Intellisense filtering.

CanParameterInfo()

Returns a value that indicates whether the expression editor instance can retrieve parameter information on the expression.

CanPaste()

Returns a value that indicates whether the expression can be pasted.

CanQuickInfo()

Returns a value that indicates whether the expression editor instance can retrieve type information to be shown in an IntelliSense quick info tool tip.

CanRedo()

Returns a value that indicates whether the system can redo the operation.

CanUndo()

Returns a value that indicates whether the system can undo the operation.

ClearSelection()

Clears the selection in the editor instance.

Close()

Closes and purges the editor items. This will close the specific expression editor instance.

CompleteWord()

Determines whether the expression editor instance can provide a list of completions for the partial word typed by the user. For example, member, argument, and method names can be shown to the user in an attempt to help them complete the word they are typing.

Copy()

Copies the active expression.

Cut()

Cuts the active expression.

DecreaseFilterLevel()

Decreases the filter level to show all items in the Intellisense filter list and returns a value that indicates whether this operation was successful.

Focus()

Sets focus on the editor instance.

GetCommittedText()

Gets the text used to generate an expression.

GlobalIntellisense()

Retrieves global IntelliSense on the expression in the expression editor and returns a value that indicates whether this operation was successful.

IncreaseFilterLevel()

Increases the filter level to show common items in the Intellisense filter list and returns a value that indicates whether this operation was successful.

ParameterInfo()

Retrieves parameter information on the expression in the expression editor and returns a value that indicates whether this operation was successful.

Paste()

Pastes the active expression.

QuickInfo()

Determines whether type information to be shown in an IntelliSense quick info tool tip.

Redo()

Reapplies the last operation that was undone in the editor, that is, reverse the effects of the undo operation.

Undo()

Undoes the last operation in the editor.

Events

Closing

Occurs when the expression editor instance is closing.

GotAggregateFocus

Occurs when the expression editor instance has aggregate focus.

LostAggregateFocus

Represents an event that is raised when the expression editor instance loses aggregate focus.

TextChanged

Represents an event that is raised when the text in an expression editor instance is changed.

Applies to