alexa
menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ListViewItemRenderer

    Represents the render for ListViewItem.

    Inheritance
    System.Object
    ListViewItemRenderer
    Namespace: Syncfusion.ListView.XForms.MacOS
    Assembly: Syncfusion.SfListView.XForms.macOS.dll
    Syntax
    public class ListViewItemRenderer : VisualElementRenderer<ListViewItem>

    Constructors

    ListViewItemRenderer()

    Initialize the ListViewItemRenderer

    Declaration
    public ListViewItemRenderer()

    Properties

    IsFlipped

    Used to avoid reverse clipping of items.

    Declaration
    public override bool IsFlipped { get; }
    Property Value
    Type
    System.Boolean

    Methods

    Dispose(Boolean)

    Disposes the instances, if the parameter is set to true.

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

    Represents the boolean value for disposing objects.

    KeyDown(NSEvent)

    Informs that the keyboard key is pressed.

    Declaration
    public override void KeyDown(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    MouseDragged(NSEvent)

    Raised when mouse pressed and dragged over an item.

    Declaration
    public override void MouseDragged(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and dragged area information.

    MouseUp(NSEvent)

    Raised when mouse press released.

    Declaration
    public override void MouseUp(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and pointer location.

    OnElementChanged(ElementChangedEventArgs<ListViewItem>)

    Update the element based on native element changed.

    Declaration
    protected override void OnElementChanged(ElementChangedEventArgs<ListViewItem> e)
    Parameters
    Type Name Description
    Xamarin.Forms.Platform.MacOS.ElementChangedEventArgs<ListViewItem> e

    Represents the Xamarin.Forms.Platform.MacOS.VisualElementChangedEventArgs.

    OnElementPropertyChanged(Object, PropertyChangedEventArgs)

    Used to update element properties when pcl element properties changed.

    Declaration
    protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    System.ComponentModel.PropertyChangedEventArgs e

    ResignFirstResponder()

    Notifies that it’s been asked to give up or leave its status as first responder in its window.

    Declaration
    public override bool ResignFirstResponder()
    Returns
    Type Description
    System.Boolean

    If true, sends the message to the key and mouse related events.

    TouchesBeganWithEvent(NSEvent)

    Raises when the touch down listens on the item.

    Declaration
    public override void TouchesBeganWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and touch information.

    TouchesCancelledWithEvent(NSEvent)

    Called if iOS cancels the touch.

    Declaration
    public override void TouchesCancelledWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and touch information.

    TouchesEndedWithEvent(NSEvent)

    Called when the user’s fingers are lifted off the screen.

    Declaration
    public override void TouchesEndedWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and touch information.

    TouchesMovedWithEvent(NSEvent)

    Called when the location of the touch changes as the user is sliding around the screen.

    Declaration
    public override void TouchesMovedWithEvent(NSEvent theEvent)
    Parameters
    Type Name Description
    AppKit.NSEvent theEvent

    Contains the event and touch information.

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