Click or drag to resize

Scrollable Class

Control to show content in a scrollable container
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class Scrollable : Panel

The Scrollable type exposes the following members.

Constructors
  NameDescription
Public methodScrollable
Initializes a new instance of the Scrollable class
Top
Properties
  NameDescription
Public propertyBorder
Gets or sets the border type
Public propertyExpandContentHeight
Gets or sets a value indicating whether this Scrollable expands content to the height of the control
Public propertyExpandContentWidth
Gets or sets a value indicating whether this Scrollable expands content to the width of the control
Public propertyMaximumZoom
Hint to get or set the maximum zoom of the scrollable region, if the platform supports it
Public propertyMinimumZoom
Hint to get or set the minimum zoom of the scrollable region, if the platform supports it
Public propertyScrollPosition
Gets or sets the scroll position from the top-left origin
Public propertyScrollSize
Gets or sets the size of the scrollable region manually
Public propertyVisibleRect
Gets the coordinates of the rectangle that is visible to the user
Public propertyZoom
Hint to set the zoom level of the scrollable region, if the platform supports it
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnScroll
Raises the Scroll event
Public methodUpdateScrollSizes
Manually updates the scroll sizes based on the content
Top
Events
  NameDescription
Public eventScroll
Event to handle when the ScrollPosition changes
Top
Fields
  NameDescription
Public fieldStatic memberScrollEvent
Event identifier for handlers when attaching the Scroll event
Top
See Also