Constructor ScrollBarView
ScrollBarView(Rect)
Initializes a new instance of the ScrollBarView class using Absolute layout.
public ScrollBarView(Rect rect)
Parameters
rect
RectFrame for the scrollbar.
ScrollBarView(Rect, int, int, bool)
Initializes a new instance of the ScrollBarView class using Absolute layout.
public ScrollBarView(Rect rect, int size, int position, bool isVertical)
Parameters
rect
RectFrame for the scrollbar.
size
intThe size that this scrollbar represents. Sets the Size property.
position
intThe position within this scrollbar. Sets the Position property.
isVertical
boolIf set to
true
this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the IsVertical property.
ScrollBarView()
Initializes a new instance of the ScrollBarView class using Computed layout.
public ScrollBarView()
ScrollBarView(int, int, bool)
Initializes a new instance of the ScrollBarView class using Computed layout.
public ScrollBarView(int size, int position, bool isVertical)
Parameters
size
intThe size that this scrollbar represents.
position
intThe position within this scrollbar.
isVertical
boolIf set to
true
this is a vertical scrollbar, otherwise, the scrollbar is horizontal.
ScrollBarView(View, bool, bool)
Initializes a new instance of the ScrollBarView class using Computed layout.
public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true)