<esri:GraphicsLayer ID="MyGraphicsLayerBufferResults"
MouseEnter="imageBuffer_Mousehover"
MouseLeftButtonDown="GraphicsLayerBuffer_MouseLeftButtonDown" >
<esri:GraphicsLayer.MapTip>
<Border BorderBrush="DarkGray" Background="Azure" CornerRadius="3" BorderThickness="1" Padding="3">
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="URL LINK: " FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Bottom" />
<TextBlock Text="{Binding [URL]}" HorizontalAlignment="Left" VerticalAlignment="Center" />
</StackPanel>
</StackPanel>
</Border>
</esri:GraphicsLayer.MapTip>
</esri:GraphicsLayer>
<esri:GraphicsLayer.MapTip> <Border BorderBrush="DarkGray" Background="Azure" CornerRadius="3" BorderThickness="1" Padding="3"> <StackPanel Orientation="Vertical"> <StackPanel Orientation="Horizontal"> <TextBlock Text="Officer: " FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" /> <TextBlock Text="{Binding [Officer]}" HorizontalAlignment="Left" VerticalAlignment="Bottom" /> </StackPanel> <StackPanel Orientation="Horizontal"> <TextBlock Text="Distance: " FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Bottom" /> <TextBlock Text="{Binding [BUFFER_DISTANCE]}" HorizontalAlignment="Left" VerticalAlignment="Center" /> <TextBlock Text=" meters from parcel" HorizontalAlignment="Left" VerticalAlignment="Bottom" /> </StackPanel> </Border> </esri:GraphicsLayer.MapTip> </esri:GraphicsLayer>
<esri:GraphicsLayer ID="MyGraphicsLayerBufferResults" MouseEnter="imageBuffer_Mousehover" MouseLeftButtonDown="GraphicsLayerBuffer_MouseLeftButtonDown" > </esri:GraphicsLayer> <Canvas HorizontalAlignment="Left" VerticalAlignment="Top" > <esri:MapTip x:Name="MyMapTip" BorderBrush="#99000000" BorderThickness="1" Title="{Binding [NAME]}" VerticalOffset="10" HorizontalOffset="10" Background="#DDFFFFFF" /> </Canvas>
' BIND THE ATTRIBUTES TO THE MAPTIP THAT IS CLICABLE AND EXPANDABLE IN THE MAP MyMapTip.GraphicsLayer = _resultsGraphicsLayer
<Canvas HorizontalAlignment="Left" VerticalAlignment="Top" > <esri:MapTip x:Name="MyMapTip" BorderBrush="#99000000" BorderThickness="1" Title="{Binding [NAME]}" VerticalOffset="10" HorizontalOffset="10" Background="#DDFFFFFF" > <Border BorderBrush="DarkGray" Background="Azure" CornerRadius="3" BorderThickness="1" Padding="3"> <StackPanel Orientation="Vertical"> <StackPanel Orientation="Horizontal"> <TextBlock Text="Officer: " FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" /> <TextBlock Text="{Binding [Officer]}" HorizontalAlignment="Left" VerticalAlignment="Bottom" /> </StackPanel> </StackPanel> </Border> </esri:MapTip> </Canvas>
Have you looked at this sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple
You can try to modify the DataTemplate applied to the InfoWindow.
If you are using MapTip, you can set MapTipHideDelay as in this sample http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip. See how MapTip is set up for StatesGraphicsLayer, with the delay you are able to mouse hover on the MapTip. Compare this with the other layer's MapTip that immediately closes once you leave the feature.
Question: BUT will I be able to click a link of some sort
Question: and will the MapTip close when I MouseLeave
Question: Is there a way to format the MapTip like the Data Template? Or are you stuck with the Rows and Columns