I'm trying to alter the relationship query example so that the tool is only enabled for a couple of specific layers. I've tried several different ways of specifying it, but no luck. return popupInfo.PopupItem.LayerName.ToString() == "MyLayerName"; etc.
Can anyone give me some help/examples?
Thanks!