Partilhar via


SPRememberScroll Class

Wraps controls that need scroll bars, and remembers the scroll position between postbacks.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        Microsoft.SharePoint.WebControls.SPRememberScroll

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPRememberScroll _
    Inherits Panel
'Usage
Dim instance As SPRememberScroll
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPRememberScroll : Panel

Remarks

This control is specialized for SPTreeView and is therefore not generically reusable.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPRememberScroll Members

Microsoft.SharePoint.WebControls Namespace