IScrollable Interface
Definition
Interface implemented by scrollable controls.
public interface IScrollable
Properties
| Name | Description |
|---|---|
| CanHorizontallyScroll | Gets a value indicating whether the content can be scrolled horizontally. |
| CanVerticallyScroll | Gets a value indicating whether the content can be scrolled horizontally. |
| Extent | Gets the extent of the scrollable content, in logical units |
| Offset | Gets or sets the current scroll offset, in logical units. |
| Viewport | Gets the size of the viewport, in logical units. |
CanHorizontallyScroll Property
Gets a value indicating whether the content can be scrolled horizontally.
public bool CanHorizontallyScroll { get; set; }
CanVerticallyScroll Property
Gets a value indicating whether the content can be scrolled horizontally.
public bool CanVerticallyScroll { get; set; }
Extent Property
Gets the extent of the scrollable content, in logical units
public Avalonia.Size Extent { get; set; }
Offset Property
Gets or sets the current scroll offset, in logical units.
public Avalonia.Vector Offset { get; set; }
Viewport Property
Gets the size of the viewport, in logical units.
public Avalonia.Size Viewport { get; set; }