This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Constants > E > esriEditState Constants (ArcObjects .NET 10.4 SDK) |
Indicates whether editing is happening or not.
Constant | Value | Description |
---|---|---|
esriStateNotEditing | 0 | Not editing. |
esriStateEditing | 1 | Editing. |
esriStateEditingUnfocused | 2 | Editing, but the map is out of focus. |
public override bool Enabled
{
get
{
if (m_editor == null)
return false;
return (m_editor.EditState == esriEditState.esriStateEditing)
}
}
Public Overrides ReadOnly Property Enabled() As Boolean
Get
Return (m_editor.EditState=esriEditState.esriStateEditing)
End Get
End Property
Private Property Get Enabled() As Boolean
Get
If m_editor.EditState=esriStateEditing Then
Enabled=True
End If
End Get
End Property