This question is locked. New answers and comments are not allowed.
Hii,
I am not able to view scrollbars in my ListBox. I checked a few posts on the site under General Discussion and tried removing the StackPanel, eventhough its not working. However, I am also using a rad wrap panel.
I might be doing something wrong. Kindly check my code.
Thanks and Regards,
Hardik
I am not able to view scrollbars in my ListBox. I checked a few posts on the site under General Discussion and tried removing the StackPanel, eventhough its not working. However, I am also using a rad wrap panel.
I might be doing something wrong. Kindly check my code.
<UserControl.Resources> <ItemsPanelTemplate x:Key="ItemsPanelTemplate1"> <telerik:RadWrapPanel Width="610" Height="300" /> </ItemsPanelTemplate> <DataTemplate x:Key="DataTemplate1"> <Border BorderBrush="#cecfce" BorderThickness="1"> <StackPanel Orientation="Horizontal" Width="200" Height="24" > <TextBlock Text="{Binding Path=Name}" Margin="5,0,0,0" VerticalAlignment="Center" ></TextBlock> </StackPanel> </Border> </DataTemplate> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White" Margin="50,50,50,0"> <telerik:ListBox ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" x:Name="list" MaxHeight="300" Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" ItemsPanel="{StaticResource ItemsPanelTemplate1}" ItemTemplate="{StaticResource DataTemplate1}"> </telerik:ListBox> </Grid>Thanks and Regards,
Hardik