AutoScrollMargin Property

UpDownBase.AutoScrollMargin Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the size of the auto-scroll margin.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public Size AutoScrollMargin { get; set; }

Property Value

Type: System.Drawing.Size

A Size that represents the height and width, in pixels, of the auto-scroll margin.

Exception Condition
ArgumentException

The Height or Width is less than 0.

The UpDownBase control does not use the AutoScrollMargin property.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft