Source.OutliningEnabled Property

Definition

Gets or sets whether outlining is currently enabled.

public:
 virtual property bool OutliningEnabled { bool get(); void set(bool value); };
public:
 virtual property bool OutliningEnabled { bool get(); void set(bool value); };
public virtual bool OutliningEnabled { get; set; }
member this.OutliningEnabled : bool with get, set
Public Overridable Property OutliningEnabled As Boolean

Property Value

true if outlining is enabled, otherwise false.

Remarks

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

See Outlining in a Legacy Language Service for more information about how outlining is supported in a language service.

Applies to