Skip to main content
Version: 4.1

ScrollableControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Defines a base class for controls that support auto-scrolling behavior.

public class ScrollableControl : Control

Constructors

Instance member ScrollableControl()

Initializes a new instance of the ScrollableControl class.

Properties

Instance member AutoScroll

Boolean: Returns or sets whether the container enables the user to scroll to any controls placed outside of its visible boundaries. (Default: False)

Instance member AutoScrollMargin

Size: Returns or sets the size of the auto-scroll margin. (Default: {Width=0, Height=0})

Throws:

Instance member AutoScrollMinSize

Size: Returns or sets the minimum size of the auto-scroll. (Default: {Width=0, Height=0})

Instance member ClientArea

Rectangle: Returns the client rectangle to use in the designer.

Instance member DisplayRectangle

Rectangle: Returns the rectangle that represents the virtual display area of the control.

Instance member HorizontalScroll

HScrollProperties: Returns the properties associated with the horizontal scroll bar.

Instance member HScroll

Boolean: Returns whether the horizontal scroll bar is visible.

Protected member OverlappedScrollbars

Boolean: Returns whether the scrollbars are being created overlapped with the content in the browser at runtime.

Instance member ScrollBars

ScrollBars: Returns or sets the type of scroll bars to display for the ScrollableControl control. (Default: Both)

Protected member ScrollBarSize

Size: Returns the size of the native scrollbar in design mode and the themed scrollbar at runtime.

Instance member Selectable

Boolean: (Default: True)

Instance member VerticalScroll

VScrollProperties: Returns the properties associated with the vertical scroll bar.

Instance member VScroll

Boolean: Returns whether the vertical scroll bar is visible.

Methods

Protected member OnControlCreated(e)

Fires the ControlCreated event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnRightToLeftChanged(e)

Fires the RightToLeftChanged event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnScroll(e)

Fires the Scroll event.

ParameterTypeDescription
eScrollEventArgsA ScrollEventArgs that contains the event data.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

Protected member OnVisibleChanged(e)

Fires the VisibleChanged event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Protected member OnWebUpdate(state)

Updates the client component using the state information.

ParameterTypeDescription
stateObjectDynamic state object.

Instance member PointToClient(point)

Computes the location of the specified screen point into client coordinates.

ParameterTypeDescription
pointPointThe screen coordinate Point to convert.

Returns: Point. A Point that represents the converted Point, point , in client coordinates.

Instance member PointToScreen(point)

Computes the location of the specified client point into screen coordinates.

ParameterTypeDescription
pointPointThe client coordinate Point to convert.

Returns: Point. A Point that represents the converted Point, point , in screen coordinates.

Instance member ScrollControlIntoView(control)

Scrolls the specified child control into view.

ParameterTypeDescription
controlControlThe child control to scroll into view.

Instance member ScrollControlIntoView(control, alignX, alignY)

Scrolls the specified child control into view. using the specified alignX and alignY preferences.

ParameterTypeDescription
controlControlThe child control to scroll into view.
alignXHorizontalAlignmentIndicates the HorizontalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Center will not scroll the control to the center, but will instead scroll it into the closest visible location with the minimum movement.
alignYVerticalAlignmentIndicates the VerticalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Middle will not scroll the control to the middle, but will instead scroll it into the closest visible location with the minimum movement.

Events

Instance member Scroll

ScrollEventHandler Fired when the user or code scrolls through the client area.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

Inherited By

NameDescription
TableLayoutPanelRepresents a panel that dynamically lays out its contents in a grid composed of rows and columns.
FileDialogUIUI implementation for the FileDialog class.
FolderBrowserDialogUIUI implementation for the FolderDialog class.
BindingNavigatorRepresents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
ContainerControlProvides focus-management functionality for controls that can function as a container for other controls.
FlowLayoutPanelRepresents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
FormRepresents a window or dialog box that makes up an application's user interface.
PageRepresents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time.
PanelRepresents a collapsible panel with an optional header that contains a group of controls.
SplitContainerRepresents a control consisting of a movable bar that divides a container's display area into two resizable panels.
SplitterPanelCreates a panel that is associated with a SplitContainer.
TabPageRepresents a single tab page in a TabControl.
UserControlProvides an empty control that can be used to create other controls.
DataRepeaterDisplays data in a customizable list format.
DataRepeaterItemUsed by the DataRepeater control to display data at run time.
DesktopRepresents a desktop container that can host floating windows.
AccordionPanelRepresents a panel in a Accordion control.
FlexLayoutPanelRepresents a panel that dynamically arranges its child controls.
UserPopupProvides an popup container that can be attached to other controls.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.