Class LayerDisabledException
Thrown when attempting to perform an operation on a disabled layer.
Inheritance
System.Object
LayerDisabledException
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class LayerDisabledException : InvalidOperationException
Constructors
LayerDisabledException(Layer)
Initializes a new instance of the LayerDisabledException class.
Declaration
public LayerDisabledException(Layer layer)
Parameters
| Type | Name | Description |
|---|---|---|
| Layer | layer | Layer that is disabled. |
Properties
Layer
Gets disabled layer involved in the attempted operation.
Declaration
public Layer Layer { get; }
Property Value
| Type | Description |
|---|---|
| Layer | The layer. |
Message
Returns a message describing the exception.
Declaration
public override string Message { get; }
Property Value
| Type |
|---|
| System.String |