alexa
menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfCarousel

    Inheritance
    System.Object
    SfCarousel
    SFCarousel
    Implements
    System.ComponentModel.IComponent
    System.IDisposable
    Namespace: Syncfusion.SfCarousel.iOS
    Assembly: Syncfusion.SfCarousel.iOS.dll
    Syntax
    public class SfCarousel : UIView, IComponent, IDisposable

    Constructors

    SfCarousel()

    Declaration
    public SfCarousel()

    SfCarousel(IntPtr)

    Declaration
    public SfCarousel(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    Properties

    AllowLoadMore

    Gets or sets a value indicating whether this SfCarousel allow load more.

    Declaration
    public bool AllowLoadMore { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if allow load more; otherwise, false.

    DataSource

    Gets or sets the data source.

    Declaration
    public NSMutableArray DataSource { get; set; }
    Property Value
    Type Description
    Foundation.NSMutableArray

    The data source.

    Duration

    Gets or sets the duration.

    Declaration
    public nfloat Duration { get; set; }
    Property Value
    Type Description
    System.nfloat

    The duration.

    EnableInteraction

    Enable the touch interaction for child views.

    Declaration
    public bool EnableInteraction { get; set; }
    Property Value
    Type
    System.Boolean

    EnableVirtualization

    Gets or sets a value indicating whether this SfCarousel is virtualization.

    Declaration
    public bool EnableVirtualization { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is virtualization; otherwise, false.

    Frame

    Gets or sets the frame.

    Declaration
    public override CGRect Frame { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGRect

    The frame.

    ItemHeight

    Gets or sets the height of the item.

    Declaration
    public nfloat ItemHeight { get; set; }
    Property Value
    Type Description
    System.nfloat

    The height of the item.

    ItemSpacing

    Gets or sets the item spacing.

    Declaration
    public int ItemSpacing { get; set; }
    Property Value
    Type Description
    System.Int32

    The item spacing.

    ItemsSource

    Gets or sets the items source.

    Declaration
    public IEnumerable ItemsSource { get; set; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    The items source.

    ItemWidth

    Gets or sets the width of the item.

    Declaration
    public nfloat ItemWidth { get; set; }
    Property Value
    Type Description
    System.nfloat

    The width of the item.

    LoadMoreItemsCount

    Gets or sets the maximum visible count.

    Declaration
    public int LoadMoreItemsCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The maximum visible count.

    LoadMoreView

    Gets or sets the load more.

    Declaration
    public UIView LoadMoreView { get; set; }
    Property Value
    Type Description
    UIKit.UIView

    The load more.

    Offset

    Gets or sets the offset.

    Declaration
    public nfloat Offset { get; set; }
    Property Value
    Type Description
    System.nfloat

    The offset.

    RotationAngle

    Gets or sets the rotation angle.

    Declaration
    public nfloat RotationAngle { get; set; }
    Property Value
    Type Description
    System.nfloat

    The rotation angle.

    ScaleOffset

    Gets or sets the scale offset.

    Declaration
    public nfloat ScaleOffset { get; set; }
    Property Value
    Type Description
    System.nfloat

    The scale offset.

    SelectedIndex

    Gets or sets the index of the selected.

    Declaration
    public nint SelectedIndex { get; set; }
    Property Value
    Type Description
    System.nint

    The index of the selected.

    SelectedItemOffset

    Gets or sets the selected item offset.

    Declaration
    public nfloat SelectedItemOffset { get; set; }
    Property Value
    Type Description
    System.nfloat

    The selected item offset.

    Site

    Declaration
    public ISite Site { get; set; }
    Property Value
    Type
    System.ComponentModel.ISite

    ViewMode

    Gets or sets the view mode.

    Declaration
    public SFCarouselViewMode ViewMode { get; set; }
    Property Value
    Type Description
    SFCarouselViewMode

    The view mode.

    Methods

    add_CollectionChanged(SfCarousel.CollectionChangedEventHandler)

    Declaration
    public void add_CollectionChanged(SfCarousel.CollectionChangedEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.CollectionChangedEventHandler value

    add_DrawView(SfCarousel.DrawViewEventHandler)

    Declaration
    public void add_DrawView(SfCarousel.DrawViewEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.DrawViewEventHandler value

    add_SelectionChanged(SfCarousel.SelectionChangedEventHandler)

    Declaration
    public void add_SelectionChanged(SfCarousel.SelectionChangedEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.SelectionChangedEventHandler value

    AwakeFromNib()

    Awakes from nib.

    Declaration
    public override void AwakeFromNib()

    Dispose(Boolean)

    Dispose method.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean type

    LayoutSubviews()

    Layouts of sub views.

    Declaration
    public override void LayoutSubviews()

    LoadMore()

    Load more method.

    Declaration
    public void LoadMore()

    MoveNext()

    Moves the next method.

    Declaration
    public void MoveNext()

    MovePrevious()

    Moves the previous method.

    Declaration
    public void MovePrevious()

    remove_CollectionChanged(SfCarousel.CollectionChangedEventHandler)

    Declaration
    public void remove_CollectionChanged(SfCarousel.CollectionChangedEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.CollectionChangedEventHandler value

    remove_DrawView(SfCarousel.DrawViewEventHandler)

    Declaration
    public void remove_DrawView(SfCarousel.DrawViewEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.DrawViewEventHandler value

    remove_SelectionChanged(SfCarousel.SelectionChangedEventHandler)

    Declaration
    public void remove_SelectionChanged(SfCarousel.SelectionChangedEventHandler value)
    Parameters
    Type Name Description
    SfCarousel.SelectionChangedEventHandler value

    Events

    CollectionChanged

    Occurs when collection changed.

    Declaration
    public event SfCarousel.CollectionChangedEventHandler CollectionChanged
    Event Type
    Type
    SfCarousel.CollectionChangedEventHandler

    Disposed

    Declaration
    public event EventHandler Disposed
    Event Type
    Type
    System.EventHandler

    DrawView

    Occurs when draw view.

    Declaration
    public event SfCarousel.DrawViewEventHandler DrawView
    Event Type
    Type
    SfCarousel.DrawViewEventHandler

    SelectionChanged

    Occurs when selection changed.

    Declaration
    public event SfCarousel.SelectionChangedEventHandler SelectionChanged
    Event Type
    Type
    SfCarousel.SelectionChangedEventHandler

    SwipeEnded

    Occurs when swipe ended

    Declaration
    public event EventHandler<EventArgs> SwipeEnded
    Event Type
    Type
    System.EventHandler<System.EventArgs>

    SwipeStarted

    Occurs when swipe started

    Declaration
    public event EventHandler<SwipeStartedEventArgs> SwipeStarted
    Event Type
    Type
    System.EventHandler<SwipeStartedEventArgs>

    Implements

    System.ComponentModel.IComponent
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved