ISmartTagSession.State Property

Definition

Gets or sets the current state of this session. Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

public:
 property Microsoft::VisualStudio::Language::Intellisense::SmartTagState State { Microsoft::VisualStudio::Language::Intellisense::SmartTagState get(); void set(Microsoft::VisualStudio::Language::Intellisense::SmartTagState value); };
public:
 property Microsoft::VisualStudio::Language::Intellisense::SmartTagState State { Microsoft::VisualStudio::Language::Intellisense::SmartTagState get(); void set(Microsoft::VisualStudio::Language::Intellisense::SmartTagState value); };
public Microsoft.VisualStudio.Language.Intellisense.SmartTagState State { get; set; }
member this.State : Microsoft.VisualStudio.Language.Intellisense.SmartTagState with get, set
Public Property State As SmartTagState

Property Value

The current smart tag state.

Remarks

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.

Applies to