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

'Déclaration
ReadOnly Property Enabled As Boolean
bool Enabled { get; }
property bool Enabled {
    bool get ();
}
abstract Enabled : bool
function get Enabled () : boolean

Property Value

Type: System.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