-
Notifications
You must be signed in to change notification settings - Fork 2
ScrollBarPosition (property)
Julius Kirsch edited this page Jan 21, 2023
·
1 revision
public ScrollBarPosition ScrollBarPosition { get; set; }
A class of type ScrollBarPosition containing the X and Y amount of pixels currently scrolled
//Scroll to X100 and Y500:
textbox.ScrollBarPosition = new ScrollBarPosition(100, 500);
//Get the amount scrolled horizontal:
double xScrolled = textbox.ScrollBarPosition.XValue;