I have a buffer working off of a Query.A query runs finding a ParcelThat selected feature then is used to run a buffer that selects another set of Feature within that bufferIt then returns them to a listboxNOTE: everything works great...Just trying to figure out how if I can retrieve the distance each feature is to the buffer centerpoint.How do I return the Buffer distance for each feature and put the distance in the listbox.Is there something that I can do in the xaml below, or do I have to get the value in the vb code first?Once that is gotten can I sort the values in the listbox Ascending via this buffer distance?<TextBlock Foreground="White" Margin="0,4,0,0" VerticalAlignment="Center" Text="{Binding BUFFER_DISTANCE}" SORT="ASCENDING" /> Is this even possible with the Buffer? I assume that its measuring the distance in order to determine if its inside the Buffer specified distance.....Thanks
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" >
<!-- QUERY -->
<StackPanel Margin="1">
<TextBlock Foreground="White" Margin="0,4,0,0" VerticalAlignment="Center" Text="{Binding Attributes[TYPE]}"/>
</StackPanel>
<StackPanel Margin="5,0,0,0" Orientation="Vertical">
<TextBlock Foreground="White" Text="{Binding Attributes[CITY_NAME], StringFormat='City Name: \{0\}'}" >
<TextBlock.Effect>
<DropShadowEffect/>
</TextBlock.Effect>
</TextBlock>
<TextBlock Foreground="White" Text="{Binding Attributes[POP1990], StringFormat='Population: \{0\}'}" >
<TextBlock.Effect>
<DropShadowEffect/>
</TextBlock.Effect>
</TextBlock>
</StackPanel>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>