Select to view content in your preferred language

How do I control the Infowindow height

2421
10
02-08-2011 11:18 AM
JamesMolohon
Emerging Contributor
I am trying the Infowindow tool, but have been unable to view all of the items in the data template. I can only read the first line, the window doesn't seem to resize based on content.  How do I fix this?
  My data template looks like this:
        <DataTemplate x:Key="LocationInfoWindowTemplate">
            <StackPanel>
                <TextBlock Text="Coordinates" />
                <TextBlock Text="{Binding [DegMinSec]}" />
                <TextBlock Text="{Binding [DecDeg]}" />
            </StackPanel>
        </DataTemplate>
0 Kudos
10 Replies
AzizaParveen2
Occasional Contributor
I had the same issue, I talked to the ESRI tech support and they found it is a bug and logged a bug #NIM089370
and they claimed that there is no work around, but I found one
the bug was if you have more than one columns in the interface(we had two) the information window take the width of the first column
and no matter what, it won�??t change until you change the width of the first column, but if I put the map and info windows in a completely
different grid inside the main grid with just only one column in it and specify the column number of the grid where it will be located, 
it works just fine.
0 Kudos