Läs på engelska Redigera

Dela via


UICollectionViewDelegate_Extensions.GetTargetContentOffset Method

Definition

When overridden, allows the developer to modify the content offset for layout and animation changes.

C#
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGPoint GetTargetContentOffset(this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

proposedContentOffset
CGPoint

Returns

Attributes

Applies to

Produkt Versioner
Xamarin iOS SDK 12