Questions tagged [scrollviewer]

A scroll viewer is a user interface construct that provides a scrolling area to any control(or hierarchy of controls) that is placed within it.

A scroll viewer is a user interface construct that provides a scrolling area to any control(or hierarchy of controls) that is placed within it. May refer specifically to the wpf/silverlight ScrollViewer.

1187 questions
0
votes
1 answer

Stackpanel height percentage within a grid

I'm dynamically filling two stackpanels with content at runtime and I want to set the height of these two stackpanels via a percentage. Here's what I've tried:
getintanked
  • 27
  • 1
  • 5
0
votes
1 answer

WP7 Managing ScrollViewer within code

Within a WP7 app I am generating a Scrollviewer within the code. This Scrollviewer has a StackPanel as its content and within the Stackpanel I have a grid. I have not assigned any specific heights to these controls. As far as the look and the…
Peter
  • 679
  • 1
  • 10
  • 25
0
votes
2 answers

WPF ListView still reserving space when collapsed

I have a WPF ListView within a ScrollViewer. I need to collapse the ListView and I am trying withthis code (pretty striaghtoforward): this.myListView.Visibility = Visibility.Collapsed; Problem is the ListView seems to be reserving the space even…
JohnIdol
  • 48,899
  • 61
  • 158
  • 242
0
votes
1 answer

How can I get the PinchZoom ended event in Windows 8?

I'm using XAML with C#. I have an Image in a ScrollViewer that is Zoomable. If the user pinchzooms the image, I want to get a larger resolution image once the optical zooming is done and replace it with the lower resolution zoomed image. I don't…
dcdroid
  • 672
  • 2
  • 9
  • 29
0
votes
1 answer

Surface Librarybar with scrollbars

We have a library bar filled with items, which can be dragged from and dropped onto it. Now the client wishes to see something like a scrollbar or arrows on the side, to have an indication if items are outside of the visible port. As you can see in…
ISAF
  • 71
  • 8
0
votes
1 answer

Support for lower resolutions with ScrollViewer

I have a Silverlight application that is designed for a certain minimum resolution with layout growing gracefully if more space is available. What I want to do now is easily add some crude support for lower resolutions. To do that, I introduced…
Jacek Gorgoń
  • 3,206
  • 1
  • 26
  • 43
0
votes
1 answer

Making a custom(/templated) ScrollViewer or ListBox that understands which item to bring to view

I am trying to make a panorama-like control in WPF c# that scrolls to/brings into view only one grid from a horizontal set of grids. I need to expose the command which allows me to scroll forward/backward from various controls (which using an…
user1076406
0
votes
1 answer
0
votes
0 answers

Annoying empty extra colum in DataGrid when using ScrollViewer

First, look at the width of the last column. It is "*". Here's the xaml to reproduce the problem:
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
0
votes
1 answer

WPF ListBox of RadioButtons inside ScrollViewer - scrolls before selection changed

I have quite annoying problem. I have ListBox in a ScrollViewer. ListBox is filled with RadioButton controls. Following code shows it:
Joe
  • 2,551
  • 6
  • 38
  • 60
0
votes
1 answer

Controlling ScrollViewer's vertical scrollbar height

I need to make the vertical scrollbar a bit lower (shorter) because I need a space for a little button The button will be hovered over the ScrollViewer in the upper right corner. I would like to avoid separating the scrollbar out of the ScrollViewer…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
0
votes
0 answers

Show UserControls In "ItemsControl" with custom option in XAML

I have a ItemsControl in ScrollViewer and I set ItemsPanel of my ItemsControl to Horizontal StackPanel and i bound it to ObservableCollection of userControls.Now I wanna when user click on icons of open UserControls in my ItemsControl,automatically…
0
votes
3 answers

Silverlight Scrollviewer Mousewheel scrolls only when scrolled on datagrid. Page doesn't scroll when scrolled outside the datagrid

Page scrolls without any issue when the mouse is over data grid. If the mouse outside datagrid page doesn't scroll.
Praveena M
  • 522
  • 4
  • 10
0
votes
1 answer

WPf cannot fully display my controls

I have relectively complex gui, but it cannot display my the whole controls(in the code, it cannot display "EMAIL", "FORWARD",...) on the bottom. what's wrong with this code? Is it because the "Window", "TabControl" or "ScrollViewer". Thank you so…
user1189507
  • 21
  • 1
  • 3
0
votes
1 answer

ScrollViewer with multiple datagrids in silverlight

I have 3 datagrid that in a stackpanel and grid that I need to add in a scroll viewer too. When I try to add the scroll viewer to grid or stack panel nothing happens. When I surround the entire stackpanel and grid with a scroll viewer it works but…
GoofyTO
  • 19
  • 1
  • 5