menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfCollectionViewFlowLayout - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfCollectionViewFlowLayout

    Inheritance
    System.Object
    SfCollectionViewFlowLayout
    Namespace: Syncfusion.XForms.MacOS.Core
    Assembly: Syncfusion.Core.XForms.macOS.dll
    Syntax
    public class SfCollectionViewFlowLayout : NSCollectionViewFlowLayout

    Constructors

    SfCollectionViewFlowLayout()

    Declaration
    public SfCollectionViewFlowLayout()

    Methods

    GetLayoutAttributesForElements(CGRect)

    Declaration
    public override NSCollectionViewLayoutAttributes[] GetLayoutAttributesForElements(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect
    Returns
    Type
    AppKit.NSCollectionViewLayoutAttributes[]

    GetLayoutAttributesForItem(NSIndexPath)

    Declaration
    public override NSCollectionViewLayoutAttributes GetLayoutAttributesForItem(NSIndexPath indexPath)
    Parameters
    Type Name Description
    Foundation.NSIndexPath indexPath
    Returns
    Type
    AppKit.NSCollectionViewLayoutAttributes

    LayoutAttributesForElementsInRect(CGRect)

    Declaration
    public virtual NSCollectionViewLayoutAttributes[] LayoutAttributesForElementsInRect(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect
    Returns
    Type
    AppKit.NSCollectionViewLayoutAttributes[]

    LayoutAttributesForItem(NSIndexPath)

    Declaration
    public virtual NSCollectionViewLayoutAttributes LayoutAttributesForItem(NSIndexPath indexPath)
    Parameters
    Type Name Description
    Foundation.NSIndexPath indexPath
    Returns
    Type
    AppKit.NSCollectionViewLayoutAttributes

    ShouldInvalidateLayout(CGRect)

    Declaration
    public override bool ShouldInvalidateLayout(CGRect newBounds)
    Parameters
    Type Name Description
    CoreGraphics.CGRect newBounds
    Returns
    Type
    System.Boolean

    ShouldInvalidateLayoutForBoundsChange(CGRect)

    Declaration
    public virtual bool ShouldInvalidateLayoutForBoundsChange(CGRect newBounds)
    Parameters
    Type Name Description
    CoreGraphics.CGRect newBounds
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved