UIScrollView.ScrollsToTop Property
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.
If true
, then the scroll view will jump to the top of the content when the user taps on the status bar.
[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
Property Value
The default value is false
- Attributes
Remarks
If set to true
and ShouldScrollToTop returns true
, the scroll-to-tap gesture of a tap on the status bar will jump to the top of the content view and fire the ScrolledToTop event.