[]
        
(Showing Draft Content)

C1.Framework.ScrollableStackPanel

ScrollableStackPanel Class

Panel that contains two scroll buttons (ButtonPrevious, ButtonNext) and a ScrollablePanel with content that can be scrolled by clicking the buttons.

Inheritance
ScrollableStackPanel
Implements
Namespace: C1.Framework
Assembly: C1.Win.8.dll
Syntax
public class ScrollableStackPanel : StackPanel, ISupportUia
Remarks

To use this class, assign the Element that contains the scrollable content should be assigned to the ContentElement property.

Constructors

Name Description
ScrollableStackPanel()

Initializes a new instance of a ScrollableStackPanel.

ScrollableStackPanel(Style)

Initializes a new instance of a ScrollableStackPanel.

Properties

Name Description
ButtonNext

Returns reference to the RepeatButtonElement element working for navigation to next elements.

ButtonPrevious

Returns reference to the RepeatButtonElement element working for navigation to previous elements.

ButtonSize

Gets or sets the int value determining height and width in pixels of navigation buttons.

ContentElement

Gets or sets the Element which displays the scrollable content.

ForceScrollButtons

Gets or sets whether the scroll buttons should be visible even when they are not needed.

ScrollDelay

Gets or sets the time before buttons start firing while pressed, in milliseconds

ScrollDelayHover

Gets or sets the time before buttons start firing when the mouse hovers over them (even without pressing them)

ScrollInterval

Gets or sets the time between scroll steps while buttons are pressed, in milliseconds.

ScrollPosition

Gets or sets the scroll position (negative pixel offset, like the XView control).

ScrollStep

Gets or sets the scroll step, in pixels.

ScrollablePanel

Returns reference to the child ScrollablePanel element.

Methods

Name Description
Layout(Graphics)

Layout this element based on its style and contents.