Table of Contents

Class PlanesScroll

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll

Provides the ability to create/draw views directly while scrolling. Content will be generated dynamically, instead of the usual way. This control main logic is inside PaintOnPlane override, also it hacks content to work without a real Content. You have to override GetMeasuredView to provide your views to be drawn upon passed index. TODO: for horizonal

public class PlanesScroll : VirtualScroll, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, IHasAfterEffects, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ISkiaDisposable, IDisposable, ISkiaGestureListener, IDefinesViewport, IWithContent
Inheritance
PlanesScroll
Implements
Inherited Members
Extension Methods

Constructors

PlanesScroll()

public PlanesScroll()

Fields

_planeLayoutData

protected Dictionary<Plane, List<PlanesScroll.ViewLayoutInfo>> _planeLayoutData

Field Value

Dictionary<Plane, List<PlanesScroll.ViewLayoutInfo>>

Properties

UseVirtual

public override bool UseVirtual { get; }

Property Value

bool

Methods

OnMeasured()

protected override void OnMeasured()

PaintOnPlane(DrawingContext, Plane)

protected override void PaintOnPlane(DrawingContext context, Plane plane)

Parameters

context DrawingContext
plane Plane

PreparePlane(DrawingContext, Plane)

protected override void PreparePlane(DrawingContext context, Plane plane)

Parameters

context DrawingContext
plane Plane