scrollviewer
why setting ScrollViewer.CanContentScroll to false disable virtualization
As most WPF developers know, setting ScrollViewer.CanContentScroll to false will disable virtualization; but I\'d like to know how it works, because I try to enable virtualization while s开发者_开发问[详细]
2023-01-16 21:32 分类:问答How to enable horizontal scrolling with mouse?
I cannot determine how to scroll horizontally using the mouse wheel. Vertical scrolling works well automatically, but I need to scroll my content horizontally. My code looks like this:[详细]
2023-01-16 05:03 分类:问答scrollviewer and canvas - scrolling view to given position
I have some problems with implementing autoscrolling in WPF (I think I could call it that way). I have a canvas placed inside a scrollviwer. On my canvas I can dynamicly add different shapes. The posi[详细]
2023-01-16 02:32 分类:问答How to prevent ScrollViewer from using MouseWheel event
I\'m building SL application for zooming and panning across the layout. Everything is working fine, except that when I zoom in using mouse wheel , after some zoom scrollbars start to use mouse开发者_开[详细]
2023-01-14 05:30 分类:问答WPF ScrollViewer - Align Horizontal Scrollbar to top?
I am wondering if it is possible to dock the horizontal Scrollbar in the ScrollViewer control to the top rather than have it on the bottom? If not, would it be possible to use a whole separate S开发者[详细]
2023-01-13 10:07 分类:问答Silverlight ScrollViewer takes focus when scrollbars are not visible
I\'m finding that Silverlight\'s ScrollViewer will still take focus even when the scrollbars are not visible.[详细]
2023-01-12 12:16 分类:问答WPF Remove ScrollViewer from TreeView
I was wondering if it is possible to turn off the TreeView\'s ScrollViewer easily. I have a UserControl with a Grid. One of the Cells has a few TreeViews inside a Stackpanel. The height of the Contro[详细]
2023-01-11 16:28 分类:问答Is it possible to adjust mouse wheel scroll distance on a WPF ScrollViewer?
I find it is scrolling too much at a time when the m开发者_StackOverflow社区ouse scroll wheel is used. I have a very short ScrollViewer (one line tall) that contains a few lines of items in a WrapPane[详细]
2023-01-09 13:52 分类:问答Silverlight canvas scrollbars
I have read that placing a canvas inside a scrollviewer won\'t work because the canvas does not report its size.I have been experimenting with different containers (borders, grids, canvases and scroll[详细]
2023-01-09 10:15 分类:问答Binding to a ScrollViewer's ViewportWidth and ViewportHeight
I am using the Model-View-ViewModel architecture in a WPF application I am building, and I would like a specific ViewModel to actually be reactive to the size of the view (not a normal use-case of t开[详细]
2023-01-07 10:30 分类:问答