Partager via


ITextViewMargin.Enabled Property

Determines whether the margin is enabled.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property Enabled As Boolean
bool Enabled { get; }
property bool Enabled {
    bool get ();
}
abstract Enabled : bool with get
function get Enabled () : boolean

Property Value

Type: Boolean
true if the margin is enabled, otherwise false.

Exceptions

Exception Condition
ObjectDisposedException

The margin is disposed.

.NET Framework Security

See Also

Reference

ITextViewMargin Interface

Microsoft.VisualStudio.Text.Editor Namespace