2 // System.Windows.Forms.VScrollBar.cs
5 // Philip Van Hoof (me@freax.org)
6 // (C) 2002 Ximian, Inc. http://www.ximian.com
11 namespace System
.Windows
.Forms
{
13 public class VScrollBar
: ScrollBar
{
15 private RightToLeft rightToLeft
;
19 public override RightToLeft RightToLeft
{
26 //FixMe: invalidate to force redraw.
31 internal override Gtk
.Widget
CreateWidget () {
32 return new Gtk
.VScrollbar ( adj
);
35 // --- Constructor ---
36 public VScrollBar() : base (){
37 rightToLeft
= RightToLeft
.Inherit
;
39 protected override Size DefaultSize
{
40 get{ return new System.Drawing.Size (17,80); }
42 public override string ToString(){
43 String ret
= String
.Format (
44 "System.Windows.Forms.VScrollBar, " +
45 "Minimum: {0}, Maximum: {1}, Value: {2}",