Could you share the Itoolcontrol implementation that you have done.
Public Overrides ReadOnly Property Enabled() As Boolean Get Dim i As Integer For i = 0 To pMap.LayerCount - 1 If TypeOf pMap.Layer(i) Is IRasterLayer Then MyBase.m_enabled = True Exit For Else MyBase.m_enabled = False End If Next i Return MyBase.Enabled End Get End Property
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.