alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class ListViewGroupHeaderItem

    Represents the group header item in a SfListView control.

    Inheritance
    object
    SfView
    SfContentView
    ListViewItem
    ListViewGroupHeaderItem
    Implements
    IDrawableLayout
    IDrawable
    IAbsoluteLayout
    ILayout
    IView
    IElement
    ITransform
    IContainer
    IList<IView>
    ICollection<IView>
    IEnumerable<IView>
    IEnumerable
    ISafeAreaView
    IPadding
    ICrossPlatformLayout
    IVisualTreeElement
    Inherited Members
    ListViewItem.ChangeVisualState()
    ListViewItem.IsSelected
    ListViewItem.OnHandlerChanged()
    ListViewItem.OnItemAppearing()
    ListViewItem.OnPropertyChanged(string)
    SfContentView.Content
    SfContentView.ContentProperty
    SfContentView.OnContentChanged(object, object)
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(double, double)
    SfView.MeasureOverride(double, double)
    SfView.OnBindingContextChanged()
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.dll
    Syntax
    public class ListViewGroupHeaderItem : ListViewItem, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement

    Constructors

    ListViewGroupHeaderItem()

    Initializes a new instance of the ListViewGroupHeaderItem class.

    Declaration
    public ListViewGroupHeaderItem()

    Methods

    ArrangeContent(Rect)

    Arranges the content in the group header item with border padding applied.

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

    The bounds for arranging the content.

    Returns
    Type Description
    Size

    The size of the arranged content.

    Overrides
    ListViewItem.ArrangeContent(Rect)

    MeasureContent(double, double)

    Measures the content of the group header item with border padding applied.

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

    Available width of the Parent view.

    double heightConstraint

    Available height of the Parent view.

    Returns
    Type Description
    Size

    The measured size of the content.

    Overrides
    ListViewItem.MeasureContent(double, double)

    OnDraw(ICanvas, RectF)

    Renders the group header item including border if enabled.

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

    The canvas on which to draw.

    RectF dirtyRect

    The dirty rectangle to be redrawn.

    Overrides
    ListViewItem.OnDraw(ICanvas, RectF)

    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
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved