VScrollBar() Constructor
Creates a new VScrollBar object.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Remarks
Use this constructor to create and initialize a new VScrollBar class instance. The constructor initializes the vertical scroll bar with default settings.
Example
The following sample code demonstrates how to create and place onto a form a new vertical scroll bar at runtime.
// Create and initialize an VScrollBar
DevExpress.XtraEditors.VScrollBar vbar = new DevExpress.XtraEditors.VScrollBar();
vbar.Height = 100;
vbar.Top = 20;
vbar.Left = 20;
// Add the scroll bar to the form
Controls.Add(vbar);
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VScrollBar() constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.