TreeView 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.
    Object Model
    ScrollablePanel ClassElementList ClassElement ClassElement ClassIView InterfaceElement ClassStyle ClassElement ClassStyle Class
    Syntax
    'Declaration
     
    
    <TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
    Public Class ScrollablePanel 
       Inherits BasePanel
    [TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    public class ScrollablePanel : BasePanel 
    Remarks

    The child elements are clipped to the bounds of the ScrollablePanel; scrolling is done by setting the ScrollablePanel.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