TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vijay rags
NA
68
163.8k
Re:Scroll bar and multiple select item in ListBox in Silverlight.
Sep 20 2011 6:09 AM
Hi,
How to add a scroll bar inside the Listbox and handle the multiple Listbox items Selected in silverlight3. I tried with the Following code. Whether we need to give the ListBox inside a ScrollViewer or. I have given the Scroll Visibility for ListBox but it is not coming.
<ListBox x:Name="ListBox2" Grid.Row="12" Grid.Column="1" Width="200" Height="500" ScrollViewer.VerticalScrollBarVisibility="Visible"
SelectionMode="Extended" SelectionChanged="ListBox2_SelectionChanged" Margin="10" ItemsSource="{Binding}" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding Name, Mode=TwoWay}" Margin="5" Foreground="Black"></TextBlock>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Thanks,
Reply
Answers (
4
)
Re:How to bind ListBox in silverlight3 with items from DB
CrystalReports