Class DataGridLoadMoreView
Represents a customized Microsoft.Maui.Controls.View that loads new data items in runtime.
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridLoadMoreView : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, IDisposable
Constructors
DataGridLoadMoreView()
Initializes a new instance of the DataGridLoadMoreView class.
Declaration
public DataGridLoadMoreView()
Properties
LoadMoreCommand
Declaration
public ICommand LoadMoreCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Methods
ArrangeContent(Rect)
This method is called to arrange the children of the LoadMoreView.
Declaration
protected override Size ArrangeContent(Rect bounds)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Rect | bounds |
Returns
Type |
---|
Microsoft.Maui.Graphics.Size |
Overrides
Dispose()
Perform final clean up before it is released from memory.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
InitLoadMoreView()
Method to initialize the required properties of load more view.
Declaration
protected virtual void InitLoadMoreView()
MeasureContent(Double, Double)
This method is called during the measure pass of a layout cycle to get the desired size of an element.
Declaration
protected override Size MeasureContent(double widthConstraint, double heightConstraint)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthConstraint | |
System.Double | heightConstraint |
Returns
Type |
---|
Microsoft.Maui.Graphics.Size |
Overrides
OnDraw(ICanvas, RectF)
Method to draw the Line for LoadMoreView.
Declaration
protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.ICanvas | canvas | The canavas for draw |
Microsoft.Maui.Graphics.RectF | dirtyRect | Rectagle for draw |
Overrides
SetLoadMoreViewStyle(DataGridStyle)
Sets the style to the LoadMoreView.
Declaration
protected virtual void SetLoadMoreViewStyle(DataGridStyle style)
Parameters
Type | Name | Description |
---|---|---|
DataGridStyle | style | The DataGridStyle. |