List Box displays extra space at the bottom that can not be selected.This has a bad look in the UI of the screen developed.
Code used in xaml :
<ListBox Style="{StaticResource lstBoxDefault}" Grid.Column="1" Grid.Row="2" ItemsSource="{Binding}" SelectionMode="Multiple" TabIndex="4" Name="lstGrade" SelectionChanged="lstGrade_SelectionChanged" Width="140" Height="Auto" MinHeight="40" MaxHeight="40" VerticalAlignment="Center" HorizontalAlignment="Left"/>
I read somewhere that the solution to the problem is to set integral property of the listbox to false but such property is not existing .
Hello Ritesh,
I am not sure which space you are referring to specifically. By default, I believe there is no white space.
Please note that this is the XamDataGrid forum.