» Home » scrollviewer » Page 1
how to disable scrollviewer automatic moving of scrollviewer in XAML Phone Application
Category : Programming Languages

how can I make my scrollviewer not to move automatically when I move and release it with mouse, I know it is the normal behavior, I need to make it keep its current horizontal offset when I release mouse.


View Replies


Listview inside of scrollviewer prevents scrollviewer scroll
Category : Programming Languages

I have a scrollviewer with a couple listboxes in it. The problem is if a user uses the middle mouse roller to scroll the scrollviewer while their mouse is over a listview. The listview scrolls its internal scrollviewer to the bottom and then continues to capture the mouse, preventing the containing scrollviewer from scrolling.


Any ideas on how to handle this?


View Replies


How do I get a scrollbar in a scrollviewer to focus the scrollviewer when clicked?
Category : Development Tools & Services

Currently with a scrollviewer, clicking the scroll bar contained in it to pan the content around it will not focus the viewer (or anything for that matter).
I wish to have it so when you scroll by dragging the scroll, or even clicking the scrollbar will focus the parent (scroll viewer).


I achieved this somewhat by attaching a ScrollChanged handler on the scrollviewer and calli


View Replies


Main scrollViewer screws up inner scrollviewer
Category : Development Tools & Services

I have a grid layout with 3 rows:



Btw: The orange rectangles represent scrollbars


If I leave this grid as the main layout, everything runs fine, the second row (datagrid inside a scrollviewer) stretches and shrinks as needed.


Now, I need the user to be able to scroll horizontally the whole window, because the DataGrid is large.


My pro


View Replies


Is it possible to disable a ScrollViewer from inside the ScrollViewer?
Category : Development Tools & Services

From a UserControl, I would like to disable a ScrollViewer which is defined one level higher. My scenario looks something like this:


<!-- ... -->
<ScrollViewer VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Disabled">
<custom:MyUserControl ... />
</ScrollViewer>

View Replies


ScrollViewer within a ScrollViewer
Category : Programming Languages

I want to create an experience on Windows 7 (using touch) where I can have an outer ScrollViewer (which is the size of the screen) that can only scroll vertically. Inside that ScrollViewer I will have several other ScrollViewer controls that only scroll horizontally, like a bookshelf.


I can do this, but the area where I am having trouble is wit


View Replies


How to hide what's outside a ScrollViewer?
Category : Programming Languages

I'm using a ScrollViewer in a WPF project and i'm struggling with its content.
The window this SV is contained in has many other UI items and I'd like to make the Image scrolled by the ScrollViewer not visible out of the SV zone or at least BEHIND other elements.


This is my bit of code with the SV (yes, it's inside a grid):


<Grid Name

View Replies


ScrollViewer not scrolling
Category : Programming Languages

The scrollviewer below does not work. I tried everything I could find on this site and beyond: embedding the scrollviewer in an Grid, embedding the ScrollViewer's children in a grid, embedding the Scrollviewer in a StackPanel with fixed height, setting/binding the height of the scrollviewer, all to no avail... Who shows me the way back to sanity??


Mind, the XAML below is just to sho


View Replies


ScrollViewer in StackPanel
Category : Programming Languages
<StackPanel Name="mypanel">
<ScrollViewer Height="{Binding ElementName=mypanel, Path=ActualHeight}">

I need, that Height = mypanel.ActualHeight-60.
How to do it?


View Replies


ScrollViewer not scrolling in WPF
Category : Development Tools & Services

I am using a scrollviewer control around my stack panel which contains an ItemsControl. When there are many items in the ItemsControl it is suppose to scroll but for some reason it just cuts of the items. Here is the code:


<StackPanel>
<ScrollViewer CanContentScroll="True" VerticalScrollBarVisibility="Visible">
<ItemsControl Name="icEvent

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .