I am practicing with c# WPF DataGrid, when I have many rows, the vertical scrollbar is activated. How to know that I am moving the scrollbar button from top to bottom with the left mouse button?
I'm new with WPF, I don't know how to do.
Related
My Project is currently in C# Winforms.
I have a custom control that I am inserting on a flow layout panel.
I also have a header that fits above the Flow Layout.
I would like the flowlayout to scroll on the vertical axis while the whole panel scrolls along the horizontal axis.
The problem I am having is that the flowlayout when autoscroll is set to true makes use of both horizontal and vertical scroll
I need the header to scroll horizontally at the same time as the flowlayout but not show its own horizontal scrollbar. I also need the header to stay at the top of the Panel when the flowlayout scrolls vertically.
Thanks for the help
I have been trying out different combinations of autoscroll, wrapcontents and Autosize.
I am trying to hide a ListView's scrollbars and keep it scrollable.
The reason for this is the design. They are very ugly!
When I turn Scrollable to false it will do actually hide the scrollbars which is my 1st goal but the ListView doesn't scroll. So is there a way to hide the scrollbars and keep it scrollable?
I found something here: How to hide the vertical scroll bar in a .NET ListView Control in Details mode but I can't get it working.
I have listView in tabControll. listView.Scrollable = true and vertical scrollbar appears normally.
After opening the window, horizontal scrollbar does not show. When I minimize the window the scrollbar appears and after maximalization it stays there. I cant see the reason, why the scrollbar is not there when I start app for the first time.
On the bottom there is no component that could be over the scrollbar.
Sorry, I don't have any codes or markups to show you.
I just want help to get my scroll bar scroll to 10 rows down in a ListView when I drag the thumb button.
For a visualization just take an example of navigation home screen in Android home page. I want to implement exactly same idea in the vertical ListView or any ScrollViewer container.
If you have focus on one item within a ListView, scrolling is automatic.
item.Focus();
I'm making an application for being used in a touch screen. One of the forms shows a listbox with scrollbar activated that is a little bit tricky to use by touching the screen with fingers.
I have tried to make an style that makes bigger buttons inside the scrollbar but I can't apply it to a listbox.
Is it possible to make a style for make bigger buttons in a scrollbar inside a listbox?
Thanks
If you are using Blend then you need to:
1. Right click your ListView
2. Select "Edit Control Parts --> Edit a copy"
3. Now right click the ScrollViewer in "Objects and Timeline"
4. Select "Edit Control Parts --> Edit a copy" again
5. Now you're editing a template for the ScrollViewer and you can play
with the size of the VerticalScrollBar
If you're not using Blend then you are just creating a Template for the ListView that refers to a new Template for the ScrollViewer.