ISmartTagSession::State Property

 

Gets or sets the current state of this session.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

property SmartTagState State {
	SmartTagState get();
	void set(SmartTagState value);
}

Property Value

Type: Microsoft.VisualStudio.Language.Intellisense::SmartTagState

The current smart tag state.

With the default presenter, collapsed sessions are rendered as a small colored rectangle. Expanded sessions are rendered as a menu containing all of the valid actions.

Return to top
Show: