alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TreeGridLoadMoreView

    Represents a customized Microsoft.Maui.Controls.View that loads new data items at runtime in SfTreeGrid.

    Inheritance
    object
    SfView
    TreeGridLoadMoreView
    Implements
    IDrawableLayout
    IDrawable
    IAbsoluteLayout
    ILayout
    IView
    IElement
    ITransform
    IContainer
    IList<IView>
    ICollection<IView>
    IEnumerable<IView>
    IEnumerable
    ISafeAreaView
    IPadding
    ICrossPlatformLayout
    IVisualTreeElement
    IDisposable
    Inherited Members
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(double, double)
    SfView.MeasureOverride(double, double)
    SfView.OnBindingContextChanged()
    SfView.OnHandlerChanged()
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridLoadMoreView : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IDisposable

    Constructors

    TreeGridLoadMoreView()

    Initializes a new instance of the TreeGridLoadMoreView class.

    Declaration
    public TreeGridLoadMoreView()

    Properties

    LoadMoreCommand

    Gets or sets the command that will be executed when a user taps the button in the load more view to load new data items in SfTreeGrid.

    Declaration
    public ICommand? LoadMoreCommand { get; set; }
    Property Value
    Type
    ICommand

    Methods

    ArrangeContent(Rect)

    Arranges the children of the load more view.

    Declaration
    protected override Size ArrangeContent(Rect bounds)
    Parameters
    Type Name Description
    Rect bounds

    The bounds to arrange the children within.

    Returns
    Type Description
    Size

    The arranged size.

    Overrides
    SfView.ArrangeContent(Rect)

    Dispose()

    Performs final clean up before the load more view is released from memory.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases the unmanaged resources used by the load more view and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    If true, releases both managed and unmanaged resources; otherwise releases only unmanaged resources.

    InitLoadMoreView()

    Method to initialize the required properties of the load more view.

    Declaration
    protected virtual void InitLoadMoreView()
    Remarks

    Override this method in a derived class to initialize a custom load more view.

    MeasureContent(double, double)

    Measures the size required for the content of the load more view.

    Declaration
    protected override Size MeasureContent(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    double widthConstraint

    The maximum width constraint.

    double heightConstraint

    The maximum height constraint.

    Returns
    Type Description
    Size

    The measured size.

    Overrides
    SfView.MeasureContent(double, double)

    OnDraw(ICanvas, RectF)

    Draws the border lines for the load more view based on the load more position.

    Declaration
    protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
    Parameters
    Type Name Description
    ICanvas canvas

    The canvas used to draw.

    RectF dirtyRect

    The rectangle to be drawn.

    Overrides
    SfView.OnDraw(ICanvas, RectF)

    SetLoadMoreViewStyle(TreeGridStyle?)

    Sets the style to the load more view from the TreeGridStyle of the SfTreeGrid.

    Declaration
    protected virtual void SetLoadMoreViewStyle(TreeGridStyle? style)
    Parameters
    Type Name Description
    TreeGridStyle style

    The TreeGridStyle.

    Remarks

    Override this method in a derived class to apply custom styling to the load more view.

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved