This documentation is archived and is not being maintained.

IExpressionEditorInstance Interface

Represents an expression editor instance.

Namespace:  System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public interface IExpressionEditorInstance

The IExpressionEditorInstance type exposes the following members.

  NameDescription
Public propertyAcceptsReturnGets or sets a value that indicates whether the expression editor instance accepts the RETURN key.
Public propertyAcceptsTabGets or sets a value that indicates whether the expression editor instance accepts the TAB key.
Public propertyHasAggregateFocusGets a value that indicates whether the instance has aggregate focus.
Public propertyHorizontalScrollBarVisibilityGets or sets a value that indicates whether the horizontal scrollbar is visible.
Public propertyHostControlGets a Control instance that can be used to display in the ExpressionTextBox.
Public propertyMaxLinesGets 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.
Public propertyMinLinesGets 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.
Public propertyTextGets or sets the value of the text.
Public propertyVerticalScrollBarVisibilityGets or sets a value that indicates whether the vertical scrollbar is visible.
Top

  NameDescription
Public methodCanCompleteWordGets a Boolean value that indicates whether the expression editor instance can complete the string being typed by the user.
Public methodCanCopyGets a Boolean value that indicates whether the expression editor instance can be closed.
Public methodCanCutGets a Boolean value that indicates whether the expression can be cut.
Public methodCanDecreaseFilterLevelReturns a value that indicates whether the filter level can be decreased when using Intellisense filtering.
Public methodCanGlobalIntellisenseGets a Boolean value that indicates whether the expression editor instance can retrieve global IntelliSense on the expression.
Public methodCanIncreaseFilterLevelReturns a value that indicates whether the filter level can be increased when using Intellisense filtering.
Public methodCanParameterInfoGets a Boolean value that indicates whether the expression editor instance can retrieve parameter information on the expression.
Public methodCanPasteGets a Boolean value that indicates whether the expression can be pasted.
Public methodCanQuickInfoGets a Boolean value that indicates whether the expression editor instance can retrieve type information to be shown in an IntelliSense quick info tool tip.
Public methodCanRedoGets a Boolean value that indicates whether the system can redo the operation.
Public methodCanUndoGets a Boolean value that indicates whether the system can undo the operation.
Public methodClearSelectionClears the selection in the editor instance.
Public methodCloseCloses and purges the editor items. This will close the specific expression editor instance.
Public methodCompleteWordDetermines 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.
Public methodCopyCopies the active expression.
Public methodCutCuts the active expression.
Public methodDecreaseFilterLevelDecreases the filter level to show all items in the Intellisense filter list and returns a value that indicates whether this operation was successful.
Public methodFocusSets focus on the editor instance.
Public methodGetCommittedTextGets the text used to generate an expression.
Public methodGlobalIntellisenseRetrieves global IntelliSense on the expression in the expression editor and returns a value that indicates whether this operation was successful.
Public methodIncreaseFilterLevelIncreases the filter level to show common items in the Intellisense filter list and returns a value that indicates whether this operation was successful.
Public methodParameterInfoRetrieves parameter information on the expression in the expression editor and returns a value that indicates whether this operation was successful.
Public methodPastePastes the active expression.
Public methodQuickInfoDetermines whether type information to be shown in an IntelliSense quick info tool tip.
Public methodRedoReapplies the last operation that was undone in the editor, that is, reverse the effects of the undo operation.
Public methodUndoUndoes the last operation in the editor.
Top

  NameDescription
Public eventClosingOccurs when the expression editor instance is closing.
Public eventGotAggregateFocusOccurs when the expression editor instance has aggregate focus.
Public eventLostAggregateFocusRepresents an event that is raised when the expression editor instance loses aggregate focus.
Public eventTextChangedRepresents an event that is raised when the text in an expression editor instance is changed.
Top

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

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: