Questions tagged [horizontaloffset]
7 questions
14
votes
2 answers
WPF - Animate ListBox.ScrollViewer.HorizontalOffset?
I have a collection of Visuals in a ListBox. I need to find the XPosition of an element inside it and then animate the HorizontalOffset of the ListBox's ScrollViewer. Essentially I want to created an animated ScrollIntoView method.
This gives me a…

EightyOne Unite
- 11,665
- 14
- 79
- 105
4
votes
1 answer
Delphi text offsets in edits and memos
I have noticed that in Delphi 2009, the text in a multi-line memo has different padding on the left from that in a single-line edit, though both are based on TCustomEdit. The exact offset depends on the font size:
alt text…

frogb
- 2,040
- 15
- 22
2
votes
2 answers
Scrollviewer Problem wpf
I am displaying images inside the listbox. i have placed this listbox inside the scrollviewer. I am using two repeat button to move the listbox items. I am binding the listbox using datacontext.
Problem:
If i move the images using the button and…

Geeth
- 5,282
- 21
- 82
- 133
2
votes
2 answers
Silverlight ScrollViewer initial horizontaloffset
I have a question regarding the setting of the HorizontalOffset-property (using the ScrollToHorizontalOffset method).
Upon starting my application, the content for the scrollviewer is dynamically created (i.e. I do not know its extent during…

Grimtron
- 6,803
- 3
- 23
- 28
1
vote
0 answers
Android: get wrong HorizontalScrollOffset when a RecyclerView inside ListView is scrolled to end
Can anyone tell why, a Horizontal RecyclerView inside a ListView return wrong computeHorizontalScrollOffset() when it is scrolled to end?
I set a holder.recyclerView.addOnScrollListener() in my ListView adapter, getView() like…

Beeing Jk
- 3,796
- 1
- 18
- 29
1
vote
0 answers
Popup alignment issue in Left and Right handed touch devices
I got a problem like in some devices Popup and Menus are opening at wrong places. I analyzed and found that it is happening because Touch enabled devices can be Right-Handed or Left-handed and based on that HorizontalOffset property value for Popup…

pratik03
- 651
- 2
- 7
- 23
0
votes
1 answer
Scrolling with mouse Win 8.1 Metro Hub Navigation
I am trying to find a solution to allow a Hub to pan with the mouse when its reaches the left or right boundary. I have implemented the code below which i have gleaned from various sources.
` private void theHubPointerMoved(object sender,…

ckglobalroaming
- 267
- 3
- 10