Hello, I am trying to programatically set a map tip on individual graphics not an entire GraphicLayer. I don't want all graphics in the Graphics layer to have a map tip. It does not appear that I can use the ESRI.ArcGIS.Client.Toolkit.MapTip because the MapTip wants to be assoicated with an GraphicsLayer or it will throw the error "System.ArgurmentException: Value does not fall within the expected range." I have created a DataTemplate and tried to set the MapTip on the graphic with the code below. The MapTip shows but the binding of the attributes does not work. What am I missing so I can get the Attributes from the graphic to bind to my DataTemplate? Is there a simpler way to do this without splitting my graphics into multiple graphics layers?C# code to add the map tip
Graphic lgraphic;
lgraphic.MapTip = new ContentControl() { ContentTemplate = LateralMapTipTemplate };
lgraphic.MapTip.SetBinding(ContentControl.ContentProperty, new System.Windows.Data.Binding());
XAML code for my template
<Grid.Resources>
<DataTemplate x:Name="LateralMapTipTemplate">
<Border Background="White">
<StackPanel Orientation="Horizontal">
<TextBlock Text="OBJID:" Margin="2"/>
<TextBlock Text="{Binding [OBJECTID]}" Foreground="White" />
</StackPanel>
</Border>
</DataTemplate>
</Grid.Resources>