AutoScrollMargin Property

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

This property is not relevant for this class.

The auto-scroll margin is used to determine the distance from the edges of the scrollable control. If the distance from the edge of a child control to parent-scrollable control is less than the value assigned to this property, the appropriate scroll bar is displayed.

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