Source::OutliningEnabled Property

 

Gets or sets whether outlining is currently enabled.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool OutliningEnabled {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if outlining is enabled, otherwise false.

The initial state of outlining is determined by reading the P:Microsoft.VisualStudio.Package.LanguagePreferences.EnableAutoOutlining property on the LanguagePreferences object in the Source class constructor. Outlining uses hidden regions to show or hide sections of text.

See Outlining (Managed Package Framework) for more information about how outlining is supported in a language service.

Return to top
Show: