Class VisualContainer
A scrollable visual container that holds the item elements. Handles the arrange and measure logics of all elements.
Implements
IDrawable
IAbsoluteLayout
ILayout
IView
IElement
ITransform
IContainer
IList<IView>
ICollection<IView>
IEnumerable<IView>
ISafeAreaView
IPadding
ICrossPlatformLayout
IVisualTreeElement
Inherited Members
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public class VisualContainer : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement
Constructors
VisualContainer()
Initializes a new instance of the VisualContainer class.
Declaration
public VisualContainer()
Properties
ScrollRows
Gets a reference to the ScrollAxisBase instance which contains the information of row lines.
Declaration
public ScrollAxisBase? ScrollRows { get; }
Property Value
| Type |
|---|
| ScrollAxisBase |
Methods
ArrangeContent(Rect?)
ArrangeContent method.
Declaration
protected override Size? ArrangeContent(Rect? bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | bounds | The bounds. |
Returns
| Type | Description |
|---|---|
| Size | It returns the size. |
Overrides
CreateScrollAxis(bool, IScrollBar, ILineSizeHost)
Creates a new instance of Syncfusion.UI.Xaml.Grid.ScrollAxis.ScrollAxisBase.
Declaration
protected virtual ScrollAxisBase CreateScrollAxis(bool pixelScroll, IScrollBar scrollBar, ILineSizeHost lineSizes)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | pixelScroll | A boolean value denoting pixel or line scrolling. |
| IScrollBar | scrollBar | The scroll bar. |
| ILineSizeHost | lineSizes | The line sizes. |
Returns
| Type | Description |
|---|---|
| ScrollAxisBase | Returns the ScrollAxisBase. |
MeasureContent(double, double)
MeasureContent method.
Declaration
protected override Size? MeasureContent(double widthConstraint, double heightConstraint)
Parameters
| Type | Name | Description |
|---|---|---|
| double | widthConstraint | The width. |
| double | heightConstraint | The height. |
Returns
| Type | Description |
|---|---|
| Size | It returns the size. |
Overrides
Implements
Microsoft.Maui.Graphics.IDrawable
Microsoft.Maui.IAbsoluteLayout
Microsoft.Maui.ILayout
Microsoft.Maui.IView
Microsoft.Maui.IElement
Microsoft.Maui.ITransform
Microsoft.Maui.IContainer
Microsoft.Maui.ISafeAreaView
Microsoft.Maui.IPadding
Microsoft.Maui.ICrossPlatformLayout
Microsoft.Maui.IVisualTreeElement