xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" xmlns:cmd="clr-namespace:Infrastructure.Commands;assembly=Infrastructure" xmlns:fcmd="clr-namespace:Infrastructure.Commands.FeatureLayerCommands;assembly=Infrastructure" <esri:Map x:Name="MyMap" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" cmd:MouseClick.Command="{Binding Map_Click}" cmd:SizeChange.Command="{Binding Size_Change}"> <esri:FeatureLayer ID="ff" Url="http://domain/arcgis/rest/services/serv/MapServer/4" Mode="OnDemand" fcmd:FeatureLayerMouseEnter.Command="{Binding FeatureLayer_MouseEnter}" /> </esri:Map>
Yes, Layer is not a control. You can probably bind to Map, ConverterParameter with ID of your layer and a Converter that would get the layer given ID instead.