jagguy
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.HorizontalScrollBarVisi bility = ScrollBarVisibility.Visibl e
sv.VerticalScrollBarVisibi lity = ScrollBarVisibility.Visibl e
sv.Content = img1
LayoutRoot.Children.Add(sv )
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"
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.HorizontalScrollBarVisi
sv.VerticalScrollBarVisibi
sv.Content = img1
LayoutRoot.Children.Add(sv
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK i can add photos and click on them .
I really just needed to know how to style the scrollbars and the tab?
I really just needed to know how to style the scrollbars and the tab?
ASKER