Tokci123 Absent Member.
Absent Member.
643 views

how to Vertical scroll till end ?

Jump to solution

We have WPF application and there is scroll bar , we need to scroll vertically ( sometimes horizontally) till end i.e. top to bottom. 

How do I do this? how do I know if bottom end is reached or for horizontal right/left end is reached ?

I believe IWPFScrollable can be used ,but not sure  how to use it.

 

Tokci

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: how to Vertical scroll till end ?

Jump to solution
Hi Tokci

The WPFScollBar class has a method called "SetValueToMaximum()" which will set the scroll bar to the maximum value (i.e. the end of the scroll bar)

Thanks
John
0 Likes
1 Reply
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: how to Vertical scroll till end ?

Jump to solution
Hi Tokci

The WPFScollBar class has a method called "SetValueToMaximum()" which will set the scroll bar to the maximum value (i.e. the end of the scroll bar)

Thanks
John
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.