IExpressionEditorInstance Interface (System.Activities.Presentation.View)

Switch View :
ScriptFree
.NET Framework Class Library
IExpressionEditorInstance Interface

Represents an expression editor instance.

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

Visual Basic
Public Interface IExpressionEditorInstance
C#
public interface IExpressionEditorInstance
Visual C++
public interface class IExpressionEditorInstance
F#
type IExpressionEditorInstance =  interface end

The IExpressionEditorInstance type exposes the following members.

Properties

  Name Description
Public property AcceptsReturn Gets or sets a value that indicates whether the expression editor instance accepts the RETURN key.
Public property AcceptsTab Gets or sets a value that indicates whether the expression editor instance accepts the TAB key.
Public property HasAggregateFocus Gets a value that indicates whether the instance has aggregate focus.
Public property HorizontalScrollBarVisibility Gets or sets a value that indicates whether the horizontal scrollbar is visible.
Public property HostControl Gets a Control instance that can be used to display in the ExpressionTextBox.
Public property 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.
Public property 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.
Public property Text Gets or sets the value of the text.
Public property VerticalScrollBarVisibility Gets or sets a value that indicates whether the vertical scrollbar is visible.
Top
Methods

  Name Description
Public method CanCompleteWord Gets a Boolean value that indicates whether the expression editor instance can complete the string being typed by the user.
Public method CanCopy Gets a Boolean value that indicates whether the expression editor instance can be closed.
Public method CanCut Gets a Boolean value that indicates whether the expression can be cut.
Public method CanDecreaseFilterLevel Returns a value that indicates whether the filter level can be decreased when using Intellisense filtering.
Public method CanGlobalIntellisense Gets a Boolean value that indicates whether the expression editor instance can retrieve global IntelliSense on the expression.
Public method CanIncreaseFilterLevel Returns a value that indicates whether the filter level can be increased when using Intellisense filtering.
Public method CanParameterInfo Gets a Boolean value that indicates whether the expression editor instance can retrieve parameter information on the expression.
Public method CanPaste Gets a Boolean value that indicates whether the expression can be pasted.
Public method CanQuickInfo Gets 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 method CanRedo Gets a Boolean value that indicates whether the system can redo the operation.
Public method CanUndo Gets a Boolean value that indicates whether the system can undo the operation.
Public method ClearSelection Clears the selection in the editor instance.
Public method Close Closes and purges the editor items. This will close the specific expression editor instance.
Public method 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.
Public method Copy Copies the active expression.
Public method Cut Cuts the active expression.
Public method 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.
Public method Focus Sets focus on the editor instance.
Public method GetCommittedText Gets the text used to generate an expression.
Public method GlobalIntellisense Retrieves global IntelliSense on the expression in the expression editor and returns a value that indicates whether this operation was successful.
Public method 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.
Public method ParameterInfo Retrieves parameter information on the expression in the expression editor and returns a value that indicates whether this operation was successful.
Public method Paste Pastes the active expression.
Public method QuickInfo Determines whether type information to be shown in an IntelliSense quick info tool tip.
Public method Redo Reapplies the last operation that was undone in the editor, that is, reverse the effects of the undo operation.
Public method Undo Undoes the last operation in the editor.
Top
Events

  Name Description
Public event Closing Occurs when the expression editor instance is closing.
Public event GotAggregateFocus Occurs when the expression editor instance has aggregate focus.
Public event LostAggregateFocus Represents an event that is raised when the expression editor instance loses aggregate focus.
Public event TextChanged Represents an event that is raised when the text in an expression editor instance is changed.
Top
Remarks

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

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
Platforms

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.
See Also

Reference