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
Get
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.