UIScrollView.ScrollsToTop プロパティ

定義

の場合 true、ユーザーがステータス バーをタップすると、スクロール ビューはコンテンツの上部にジャンプします。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ScrollsToTop { [Foundation.Export("scrollsToTop")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setScrollsToTop:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ScrollsToTop : bool with get, set

プロパティ値

既定値は false

属性

注釈

true 設定して ShouldScrollToTop が返 trueされた場合、ステータス バーのタップのスクロールツータップ ジェスチャがコンテンツ ビューの上部にジャンプし、イベントが発生します ScrolledToTop

適用対象

こちらもご覧ください