Class ScrollPresenter
- Namespace
- Forma
- Assembly
- Forma.dll
Clips and offsets scroll content while reporting viewport, extent, and constrained offset metrics.
public sealed class ScrollPresenter : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
- Inheritance
-
ScrollPresenter
- Implements
- Inherited Members
Constructors
ScrollPresenter()
public ScrollPresenter()
Properties
Content
public Control Content { get; set; }
Property Value
Extent
public Vector2 Extent { get; }
Property Value
- Vector2
Metrics
public ScrollMetrics Metrics { get; }
Property Value
Offset
public Vector2 Offset { get; }
Property Value
- Vector2
Owner
public IScrollViewportOwner Owner { get; set; }
Property Value
Viewport
public Vector2 Viewport { get; }
Property Value
- Vector2
Methods
ArrangeChildren()
protected override void ArrangeChildren()
Dispose()
public void Dispose()
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2