Link to home
Start Free TrialLog in
Avatar of jagguy
jagguyFlag for Australia

asked on

scrollviewer

HI,

I want to add a number of thumb size photos to a scrollable area.

q1)How do i do style the scroll viewer  as the scrollbars dont look that good ?

 q2) I have an image in the scrollviewer and want to invoke the click event of the image but click event doesnt appear anymore?

 img2 = New Image
        url2 = New Uri("images/armythumb.png", UriKind.Relative)
        uu2 = New BitmapImage(url)
        uu2.UriSource = url2
        img2.Source = uu2
        Canvas.SetLeft(img2, 20)
        Canvas.SetTop(img2, 5)


        sv = New ScrollViewer
        sv.Height = 80
        sv.Width = 200
        Canvas.SetLeft(sv, 100)
        Canvas.SetTop(sv, 100)
        sv.HorizontalScrollBarVisibility = ScrollBarVisibility.Visible
        sv.VerticalScrollBarVisibility = ScrollBarVisibility.Visible
        sv.Content = img1
        LayoutRoot.Children.Add(sv)
Avatar of jagguy
jagguy
Flag of Australia image

ASKER

i want to style the tab where you scroll  with the mouse and the scrollbar width
ASKER CERTIFIED SOLUTION
Avatar of peterdungan
peterdungan
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jagguy

ASKER

OK  i can add photos and click on them .
I really just needed to know how to style the scrollbars and the tab?