Skip to main content
Version: 3.5

ScrollableControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class ScrollableControl : Control

Constructors

Instance memberScrollableControl()

Initializes a new instance of the ScrollableControl class.

Properties

Instance memberAutoScroll

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

Instance memberAutoScrollMargin

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

Throws:

Instance memberAutoScrollMinSize

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

Instance memberDisplayRectangle

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

Instance memberHorizontalScroll

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

Instance memberScrollBars

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

Instance memberVerticalScroll

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

Methods

Instance memberPointToClient(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 memberPointToScreen(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 memberScrollControlIntoView(control)

Scrolls the specified child control into view.

ParameterTypeDescription
controlControlThe child control to scroll into view.

Instance memberScrollControlIntoView(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 memberScroll

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
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.