IUIScrollViewDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UIScrollViewDelegate.
[Foundation.Protocol(Name="UIScrollViewDelegate", WrapperType=typeof(UIKit.UIScrollViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Scrolled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidScroll:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewWillBeginDragging:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(System.Boolean) }, Selector="scrollViewDidEndDragging:willDecelerate:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DecelerationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewWillBeginDecelerating:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DecelerationEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidEndDecelerating:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrollAnimationEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidEndScrollingAnimation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewForZoomingInScrollView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, ReturnType=typeof(UIKit.UIView), Selector="viewForZoomingInScrollView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldScrollToTop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, ReturnType=typeof(System.Boolean), Selector="scrollViewShouldScrollToTop:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrolledToTop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidScrollToTop:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ZoomingEnded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(UIKit.UIView), typeof(System.Runtime.InteropServices.NFloat) }, Selector="scrollViewDidEndZooming:withView:atScale:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidZoom", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidZoom:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ZoomingStarted", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(UIKit.UIView) }, Selector="scrollViewWillBeginZooming:withView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEndDragging", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(CoreGraphics.CGPoint), typeof(CoreGraphics.CGPoint) }, Selector="scrollViewWillEndDragging:withVelocity:targetContentOffset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeAdjustedContentInset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidChangeAdjustedContentInset:")]
public interface IUIScrollViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIScrollViewDelegate", WrapperType=typeof(UIKit.UIScrollViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Scrolled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidScroll:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewWillBeginDragging:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingEnded", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(System.Boolean) }, Selector="scrollViewDidEndDragging:willDecelerate:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DecelerationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewWillBeginDecelerating:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DecelerationEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidEndDecelerating:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrollAnimationEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidEndScrollingAnimation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewForZoomingInScrollView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, ReturnType=typeof(UIKit.UIView), Selector="viewForZoomingInScrollView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldScrollToTop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, ReturnType=typeof(System.Boolean), Selector="scrollViewShouldScrollToTop:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ScrolledToTop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidScrollToTop:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ZoomingEnded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(UIKit.UIView), typeof(System.Runtime.InteropServices.NFloat) }, Selector="scrollViewDidEndZooming:withView:atScale:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidZoom", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidZoom:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ZoomingStarted", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(UIKit.UIView) }, Selector="scrollViewWillBeginZooming:withView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEndDragging", ParameterByRef=new System.Boolean[] { false, false, true }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView), typeof(CoreGraphics.CGPoint), typeof(CoreGraphics.CGPoint) }, Selector="scrollViewWillEndDragging:withVelocity:targetContentOffset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeAdjustedContentInset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIScrollView) }, Selector="scrollViewDidChangeAdjustedContentInset:")>]
type IUIScrollViewDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| DecelerationEnded(UIScrollView) |
Indicates that deceleration relating to a scroll event has ended. |
| DecelerationStarted(UIScrollView) |
Indicates that deceleration of a scrolling event has begun. |
| DidChangeAdjustedContentInset(UIScrollView) |
Method that is called when the inset values change. |
| DidZoom(UIScrollView) |
Indicates that the specified scrollView has zoomed. |
| DraggingEnded(UIScrollView, Boolean) |
Indicates that dragging has completed. |
| DraggingStarted(UIScrollView) |
Indicates that dragging has begun. |
| ScrollAnimationEnded(UIScrollView) |
Indicates that all animations relating to scrolling have completed. |
| Scrolled(UIScrollView) |
Indicates that the specified scrollView has scrolled. |
| ScrolledToTop(UIScrollView) |
Indicates that the specified scrollView's scrolling has ended at the top. |
| ShouldScrollToTop(UIScrollView) |
Whether a scroll to the beginning of the scrollView should be permitted. |
| ViewForZoomingInScrollView(UIScrollView) |
The UIView to scale when zooming is requested. |
| WillEndDragging(UIScrollView, CGPoint, CGPoint) |
Indicates that dragging is about to end. |
| ZoomingEnded(UIScrollView, UIView, NFloat) |
Indicates that zooming has completed. |
| ZoomingStarted(UIScrollView, UIView) |
Indicates that zooming has begun. |