Class ExtendedScrollViewRenderer
Renderer for ExtendedScrollView.
Inheritance
Namespace: Syncfusion.ListView.XForms.MacOS
Assembly: Syncfusion.SfListView.XForms.macOS.dll
Syntax
public class ExtendedScrollViewRenderer : ScrollViewRenderer
Constructors
ExtendedScrollViewRenderer()
Initialize the ExtendedScrollViewRenderer.
Declaration
public ExtendedScrollViewRenderer()
Properties
ScrollerStyle
Gets or sets the scroller style.
Declaration
public override NSScrollerStyle ScrollerStyle { get; set; }
Property Value
Type | Description |
---|---|
AppKit.NSScrollerStyle | The scroller style. |
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 the objects. |
Layout()
Layouts the View when bounds or subviews gets changed.
Declaration
public override void Layout()
OnElementChanged(Object, VisualElementChangedEventArgs)
Updates the element based on the native element changes.
Declaration
protected void OnElementChanged(object sender, VisualElementChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Represents the sender as ScrollView. |
Xamarin.Forms.Platform.MacOS.VisualElementChangedEventArgs | e | Represents the Xamarin.Forms.Platform.MacOS.VisualElementChangedEventArgs. |
ScrollWheel(NSEvent)
Raises when the scroll value of AppKit.NSScrollView gets changed.
Declaration
public override void ScrollWheel(NSEvent theEvent)
Parameters
Type | Name | Description |
---|---|---|
AppKit.NSEvent | theEvent | Contains the event and touch information. |
ViewWillMoveToSuperview(NSView)
The SuperView getting null when use WillMoveToWindow override method, because WillMoveToWindow will be fired before SfListView is added into the View. So WillMoveToSuperview method is used.
Declaration
public override void ViewWillMoveToSuperview(NSView newsuper)
Parameters
Type | Name | Description |
---|---|---|
AppKit.NSView | newsuper |