This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.EditState Property (ArcObjects .NET 10.5 SDK) |
The editor's current edit state.
[Visual Basic .NET] Public ReadOnly Property EditState As esriEditState
[C#] public esriEditState EditState {get;}
The get_EditState is used to return the enabled property of the tool.
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
IEditor Interface | esriEditState Constants