Constructor ScrollBarView
ScrollBarView(Rect)
Initializes a new instance of the ScrollBarView class using Absolute layout.
public ScrollBarView(Rect rect)
Parameters
rectRectFrame 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
rectRectFrame for the scrollbar.
sizeintThe size that this scrollbar represents. Sets the Size property.
positionintThe position within this scrollbar. Sets the Position property.
isVerticalboolIf set to
truethis 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
sizeintThe size that this scrollbar represents.
positionintThe position within this scrollbar.
isVerticalboolIf set to
truethis 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)