ViewFilter.IsExpansionUIActive Property
Determines if the code snippet expansion user interface (UI) is active.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
‘선언
Public Overridable ReadOnly Property IsExpansionUIActive As Boolean
Get
‘사용 방법
Dim instance As ViewFilter
Dim value As Boolean
value = instance.IsExpansionUIActive
public virtual bool IsExpansionUIActive { get; }
public:
virtual property bool IsExpansionUIActive {
bool get ();
}
abstract IsExpansionUIActive : bool
override IsExpansionUIActive : bool
function get IsExpansionUIActive () : boolean
Property Value
Type: System.Boolean
If the expansion UI is active, returns true; otherwise, returns false.
Remarks
When a code snippet is inserted, the editor can change to special mode where the snippet can be modified in place. This special mode allows the user to select different values for an insertion field and tab between the insertion fields. While this expansion mode is active, any other command that language service might support is bypassed.
The base method obtains the IVsTextViewEx interface from the IVsTextView object that was passed to the ViewFilter class constructor. The base method then calls the IsExpansionUIActive method on the IVsTextViewEx interface to determine if the expansion UI is active.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.