PrintPreviewDialog.AutoScrollMargin 属性
定义
获取或设置自动滚动边距的大小。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; }
member this.AutoScrollMargin : System.Drawing.Size with get, set
Public Property AutoScrollMargin As Size
属性值
表示自动滚动边距的高度和宽度的 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.