Input for WinForms | ComponentOne
C1.Framework Namespace / ScrollablePanel Class
Members

In This Topic
    ScrollablePanel Class
    In This Topic
    Panel that knows how to scroll child elements bigger than itself.
    Syntax
    'Declaration
     
    
    Public Class ScrollablePanel 
       Inherits BasePanel
    public class ScrollablePanel : BasePanel 
    Remarks

    The child elements are clipped to the bounds of the ScrollablePanel; scrolling is done by setting the ScrollPosition property, which works like the ScrollPosition in the XView control.

    This class only implements the scrollable (client) area of a scrollable control. It doesn't have scrollbars or buttons. For that, use the ScrollBarPanel or ScrollableStackPanel classes (or implement your own scrollable panel).

    Inheritance Hierarchy

    System.Object
       C1.Framework.Element
          C1.Framework.BasePanel
             C1.Framework.ScrollablePanel

    See Also