[]
        
(Showing Draft Content)

C1.Framework.ScrollBarPanel

ScrollBarPanel Class

Panel that plays the role of a ScrollableControl).

Inheritance
ScrollBarPanel
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class ScrollBarPanel : BasePanel, ISupportUia
Remarks

This element contains a ScrollablePanel that contains the content to display and two ScrollBarElement objects that are displayed as needed and control the scroll position on the main panel.

If the panel contains an Element that is HitTestable, then it will honor the mouse wheel in addition to the scrollbars.

Constructors

Name Description
ScrollBarPanel()

Initializes a new instance of a ScrollBarPanel.

ScrollBarPanel(Style)

Initializes a new instance of a ScrollBarPanel.

Properties

Name Description
ButtonSize

Gets or sets the size of the scrollbar buttons.

ContentElement

Gets or sets the Element which displays the scrollable content.

ForceScrollBars

Gets or sets whether the scrollbars defined by the ScrollBars property should remain visible even if they are not needed.

ScrollBarHorizontal

Returns reference to the horizontal ScrollBarElement element.

ScrollBarVertical

Returns reference to the vertical ScrollBarElement element.

ScrollBars

Gets or sets which scrollbars should be visible.

ScrollablePanel

Returns reference to the child ScrollablePanel element.

Methods

Name Description
Clone()

Returns a clone of this element.

Layout(Graphics)

Layout this element based on its style and contents.