System.Windows.Forms 1.0.5000.0 2.0.0.0 System.Windows.Forms.Control System.ComponentModel.DefaultProperty("Value") System.ComponentModel.DefaultEvent("Scroll") System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch) System.Runtime.InteropServices.ComVisible(true) You typically do not inherit directly from the class. To create your own scroll bar class, inherit from the or class. The scroll box is sometimes referred to as the scroll thumb. To adjust the value range of the scroll bar control, set the and properties. To adjust the distance the scroll box moves, set the and properties. To adjust the starting point of the scroll box, set the property when the control is initially displayed. User interface guidelines suggest that the and properties are set relative to the size of the view that the user sees, not to the total size including the unseen part. For example, if you have a picture box with scroll bars displaying a large image, the and properties should be set relative to the size of the picture box, not to the size of the image. Implements the basic functionality of a scroll bar control. Constructor By default, the property is set to false when a new instance of a is created. Initializes a new instance of the class. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Boolean To be added. Setting the property has no effect on the appearance of the control. Gets or sets a value indicating whether the is automatically resized to fit its contents. Event 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler For more information about handling events, see Consuming Events. Occurs when the value of the property changes. Property System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Drawing.Color To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Drawing.Image To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Windows.Forms.ImageLayout To be added. To be added. To be added. Event 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler The control sets the bit flag to false, so the will not raise the event. Occurs when the control is clicked if the bit flag is set to true in a derived class. 1.0.5000.0 2.0.0.0 Property System.Windows.Forms.CreateParams To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Property System.Windows.Forms.ImeMode To be added. As implemented in the class, this property always returns the value. Gets the default Input Method Editor (IME) mode supported by this control. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.Windows.Forms.Padding To be added. To be added. Gets the default distance between the control edges and its contents. Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler The control sets the bit flag to false, so the will not raise the event. Occurs when the control is double-clicked. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Drawing.Font To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Drawing.Color To be added. This property can only be changed programmatically; it is not visible in the Properties window. Gets or sets the foreground color of the scroll bar control. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Method 2.0.0.0 System.Drawing.Rectangle This is a helper method that used by the method to return the bounds that the control should be scaled by. You may override this method if you wish to reuse scaling logic, but you need to supply your own bounds. Returns the bounds to use when the is scaled by a specified amount. A specifying the scaled bounds. A that specifies the initial bounds. A that indicates the amount the current bounds should be increased by. A bitwise combination of the values that indicate the how to define the control's size and position returned by . Property System.ComponentModel.Browsable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.Windows.Forms.ImeMode To be added. To be added. Gets or sets the Input Method Editor (IME) mode supported by this control. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint) System.ComponentModel.DefaultValue(10) System.Int32 To be added. When the user clicks in the scroll bar track on either side of the scroll box, the property changes according to the value set in the property. You can handle key press events so that when the user presses the PAGE UP or PAGE DOWN key the scroll box moves. User interface guidelines suggest that the and properties are set relative to the size of the view that the user sees, not to the total size including the unseen part. For example, if you have a picture box with scroll bars displaying a large image, the and properties should be set relative to the size of the picture box, not to the size of the image. Gets or sets a value to be added to or subtracted from the property when the scroll box is moved a large distance. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint) System.ComponentModel.DefaultValue(100) System.Int32 To be added. You might consider adjusting the property dynamically to match the size of the scroll bar's parent in proportion to pixel size or to the number of rows or lines displayed. The maximum value can only be reached programmatically. The value of a scroll bar cannot reach its maximum value through user interaction at run time. The maximum value that can be reached through user interaction is equal to 1 plus the property value minus the property value. If necessary, you can set the property to the size of the object -1 to account for the term of 1. Gets or sets the upper limit of values of the scrollable range. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint) System.ComponentModel.DefaultValue(0) System.Int32 To be added. To be added. Gets or sets the lower limit of values of the scrollable range. 1.0.5000.0 2.0.0.0 Event 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler The control does not raise the event. Occurs when the user clicks the control with the mouse. Event 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler The control does not raise the event. Occurs when the user double-clicks the control with the mouse. Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler The control does not raise the event. Occurs when the mouse pointer is over the control and the user presses a mouse button. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler To be added. Occurs when the user moves the mouse pointer over the control. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler The control does not raise the event. Occurs when the user moves the mouse pointer over the control and releases a mouse button. 1.0.5000.0 2.0.0.0 Method System.Void To be added. To be added. The event data. 1.0.5000.0 2.0.0.0 Method System.Void To be added. To be added. The event data. 1.0.5000.0 2.0.0.0 Method System.Void The control will convert mouse wheel movements to scrolling when the is in focus. Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event A 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 1.0.5000.0 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. An that contains the event data. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.PaintEventHandler To be added. Occurs when the control is redrawn. 1.0.5000.0 2.0.0.0 Event System.Windows.Forms.ScrollEventHandler For more information about handling events, see Consuming Events. Occurs when the scroll box has been moved by either a mouse or keyboard action. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(1) System.Int32 To be added. When the user presses one of the arrow keys or clicks one of the scroll bar buttons, the property changes according to the value set in the property. User interface guidelines suggest that the and properties are set relative to the size of the view that the user sees, not to the total size including the unseen part. For example, if you have a picture box with scroll bars displaying a large image, the and properties should be set relative to the size of the picture box, not to the size of the image. Gets or sets the value to be added to or subtracted from the property when the scroll box is moved a small distance. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(false) System.Boolean To be added. When the user presses the TAB key, the input focus is set to the next control in the tab order. Controls with the property value of false are not included in the collection of controls in the tab order. You can manipulate the tab order by setting the control's property value. Gets or sets a value indicating whether the user can give the focus to the control by using the TAB key. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) System.ComponentModel.Browsable(false) System.ComponentModel.Bindable(false) System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.String To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler To be added. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Method System.String The method returns a string that includes the type and the values for the , and properties. Returns a string that represents the control. A string that represents the current . 1.0.5000.0 2.0.0.0 Method System.Void The method redraws the by using the values of the , , , and properties. Updates the control. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(0) System.ComponentModel.Bindable(true) System.Int32 To be added. To be added. Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control. 1.0.5000.0 2.0.0.0 Event System.EventHandler For more information about handling events, see Consuming Events. Occurs when the property is changed, either by a event or programmatically. 1.0.5000.0 2.0.0.0 Method System.Void To be added. To be added. To be added. 1.0.5000.0 2.0.0.0