Hi,
I am using a locator control in my custom dock pane. But whenever I am using detailed view since result set is now larger the controls below the locator control get pushed more downwards. I tried to set the max height to the locator control due to that result set is inside the scroll viewer but now all the results are not visible and getting cut down (scroll viewer is not scrollable to full extent where we can see all the result sets).
Anyone faced this issue?
This is my UI code
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<mappingControls:LocatorControl Grid.Row="0" Margin="3">
<behaviors:Interaction.Triggers>
<behaviors:EventTrigger EventName="SelectedGeocodeResultsChanged">
<behaviors:InvokeCommandAction Command="{Binding SelectedGeocodeResultsChangedCommand}" PassEventArgsToCommand="True" />
</behaviors:EventTrigger>
</behaviors:Interaction.Triggers>
</mappingControls:LocatorControl>
<Label Grid.Row="1" Margin="3" Content="" />
<StackPanel Grid.Row="2" Margin="6,2">
<RadioButton Margin="3,3" Content="" />
<RadioButton Margin="3,3" Content="" />
<Button Margin="0,20,3,3" HorizontalAlignment="Right" Command="{Binding SearchCommand}" Content="Search" Style="{DynamicResource Esri_Button}" />
</StackPanel>
</Grid>
</ScrollViewer>
@Wolf @GKmieliauskas @UmaHarano
Solved! Go to Solution.
@CharlesMacleod Yes thats what I thought just wanted to still check