編輯

共用方式為


PrintPreviewDialog.AutoScrollMargin Property

Definition

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

public:
 property System::Drawing::Size AutoScrollMargin { System::Drawing::Size get(); void set(System::Drawing::Size value); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Size AutoScrollMargin { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AutoScrollMargin : System.Drawing.Size with get, set
Public Property AutoScrollMargin As Size

Property Value

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

Attributes

Remarks

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.

Applies to