ScrollView

open class ScrollView : ControlView

Undocumented

  • Undocumented

    Declaration

    Swift

    public var contentView: View { get }
  • Undocumented

    Declaration

    Swift

    public var scrollBarsMode: ScrollBarsVisibility { get set }
  • Undocumented

    Declaration

    Swift

    public var scrollBarsAlwaysVisible: Bool { get set }
  • A fixed content size to use for this scroll view’s bounds.

    If nil, the content size is computed from the constraints affecting the contentView.

    When setting to a non-nil value, the constraints for each dimension are only created if the dimension is >= 0.

    Declaration

    Swift

    public var contentSize: UISize? { get set }
  • Undocumented

    Declaration

    Swift

    open var contentBounds: UIRectangle { get }
  • Gets the visible content area of the containerView which is not occluded by scroll bars.

    If no scroll bars are visible, visibleContentBounds is the same as View.bounds.

    Declaration

    Swift

    open var visibleContentBounds: UIRectangle { get }
  • If enabled, over-scrolling results in an elastic effect which bounces the scroll back to the scroll limits when the user lets go of the view

    Declaration

    Swift

    public var bounceEnabled: Bool
  • A flat multiplier applied to mouse wheel scrolling amounts in order to change the scrolling speed of this scroll view.

    Declaration

    Swift

    public var scrollFactor: Double
  • A multiplier that accumulates on repeated mouse wheel scroll events that temporarily increases the rate of scrolling.

    Acceleration decays over a short period of time and only begins affecting after the second repeated mouse scroll event after it has fully decayed.

    Declaration

    Swift

    public var maxScrollAcceleration: Double
  • A percentage of the display height of the scroll view that is padded at the bottom in order to create an empty space past the end of the list of items.

    Defaults to 0.0.

    Declaration

    Swift

    public var overScrollFactor: Double { get set }
  • Undocumented

    Declaration

    Swift

    public let horizontalBar: ScrollBarControl
  • Undocumented

    Declaration

    Swift

    public let verticalBar: ScrollBarControl
  • Undocumented

    Declaration

    Swift

    public init(scrollBarsMode: ScrollBarsVisibility)
  • Declaration

    Swift

    open override func setupHierarchy()
  • Declaration

    Swift

    open override func addSubview(_ view: View)
  • Declaration

    Swift

    public override func performInternalLayout()
  • Declaration

    Swift

    open override func onResize(_ event: ValueChangedEventArgs<UISize>)
  • Declaration

    Swift

    open override func canHandle(_ eventRequest: EventRequest) -> Bool
  • Declaration

    Swift

    open override func onMouseWheel(_ event: MouseEventArgs)
  • Undocumented

    See more

    Declaration

    Swift

    public struct ScrollBarsVisibility : OptionSet