I have this listbox-
<ListBox ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden" MaxHeight="80" Width="Auto" Name="listbox" ItemsSource="{Binding Text}" Style="{StaticResource Textblockstyle}" ToolTipService.ShowDuration="360000000">
<ListBox.ToolTip>
<ToolTip MaxHeight="150" MaxWidth="500" Background="LightYellow">
<TextBlock Text="{Binding listbox}" TextWrapping="Wrap"></TextBlock>
</ToolTip>
</ListBox.ToolTip>
</ListBox>
I need to set the width of the scroll bar for the list box.
Any Ideas.
Thanks in advance!
Thanks for the reply.
I figured it out this way:
Add a scrollviewer to the listbox and define resources for it.
8
8