Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1655
List Box displays extra space at the bottom which is not selectable
posted

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 .

 

Parents
No Data
Reply
  • 69686
    posted

    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.

Children
No Data