c#


change scrollbar inside scrollviewer


there is a grid inside scrollviewer which is having a vertical scrollbar. But that scroll bar is not clear, there are 2 small horizontal lines at the bottom of scrollbar.
<ScrollViewer VerticalScrollBarVisibility="Auto" >
<Grid VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Button Name="DetailsBackButton" Style="{StaticResource BackButtonStyle}" Click="AttachementDetailsBackButton_Click" Grid.Row="0" Visibility="Collapsed" />
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ListBox x:Name="DetailsListbox" BorderBrush="#d2d4d5" BorderThickness="1" FontFamily="Arial" FontSize="12px" ItemsSource="{Binding}" Grid.Row="0" Visibility="Collapsed" Width="{Binding RelativeSource={RelativeSource TemplatedParent},Path=ActualHeight}" Style="{DynamicResource ListBoxDefaultStyle}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid >
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Text="{Binding Title}" Grid.Row="0" Style="{DynamicResource AttachmentTitleText}" MouseLeftButtonDown="AttachmentTitle_MouseLeftButtonDown" >
</TextBlock>
<Border Style="{DynamicResource AreaButtonBorder}" Grid.Row="1"/>
</Grid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ListBox>
<WebBrowser Name="WebBrowser" Style="{DynamicResource WebBrowserStyle}" Visibility="Visible" Grid.Row="1" Navigating="FullTextWebBrowser_Navigating" LoadCompleted="WebBrowser_LoadCompleted" />
</Grid>
</Grid>
</ScrollViewer>
And further, if I am scrolling it a bit, these 2 horizontal lines will go off. how this can be solved? or Is there any way to move the scroll bar little down by default inside scrollviewer?
Thanks.

Related Links

C# windows phone xaml showing invalid xaml error
Set value of property with private accessor
Deserializing json in c# returns null
Get BulkCopy Percentage for Progress Bar
How to create a rotating image slider in Windows Phone 8.1 RT?
Connect SignalR in a hub that is inside WCF service
COM-interop class instance and optional parameters
Customize Auto_Increment using prefix YYYY-0000001 [SQL]
How do I check if update for my Windows Phone App is available?
Play and Stop Audio with 2 seprate button Unity
Detect if application was started in a new or existing console [duplicate]
Can Linq AsParallel() dispose of SoapHttpClientProtocol objects prematurely?
How to access local storage in background task (for audio) in windows phone 8.1
How to get Bluetooth Device Com serial Port in winform C#?
Xamarin/Mvvmcross: Open a different view controller when a iOS push notification is received
Caliburn Micro Action in ContextMenu with ControlTemplate

Categories

HOME
stanford-nlp
cluster-analysis
c++builder
mailchimp
terminal
checkpoint
android-webview
runtime
theory
mongoimport
velocity
decoding
email-attachments
drush
hdf5
github-flavored-markdown
openscad
xforms
glibc
bug-reporting
fibonacci
bootstrap-accordion
apdu
mongoose-im
urhosharp
visual-studio-debugging
spring-oauth2
rtos
microstrategy
machine-code
javafxports
mixed-models
aspnetboilerplate
irr
colorbox
f#-fake
scrapinghub
jsfl
nao-robot
critical-section
tsc
apache-commons-cli
msiexec
copy-constructor
visual-web-developer
jira-agile
weblogic-maven-plugin
diameter-protocol
razorengine
pebble-js
treelist
apache2-module
app-data
imageicon
magnet-uri
sdkman
edgar
notice
adempiere
xml-simple
nmock
playn
bungeecord
strcpy
xcode5
xmlserializer
dotcmis
ccmenuitem
rpt
satisfiability
azure-caching
iwork
imaplib
fade
mosix
infinity.js
proj4
http-compression
bho
antixsslibrary
commonsware
ruby-1.9
automapper-2
recess
xpolog
lwp
cryptolicensing
hs-err
javah
miniport
pkcs#7
focus-stealing
script-tag
content-delivery-network
scalable

Resources

Encrypt Message