Control.AutoScrollOffset Control.AutoScrollOffset Control.AutoScrollOffset Control.AutoScrollOffset Property

定义

获取或设置一个值,该值指示在 ScrollControlIntoView(Control) 中将控件滚动到何处。Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).

public:
 virtual property System::Drawing::Point AutoScrollOffset { System::Drawing::Point get(); void set(System::Drawing::Point value); };
[System.ComponentModel.Browsable(false)]
public virtual System.Drawing.Point AutoScrollOffset { get; set; }
member this.AutoScrollOffset : System.Drawing.Point with get, set
Public Overridable Property AutoScrollOffset As Point

属性值

一个指定滚动位置的 PointA Point specifying the scroll location. 默认为控件的左上角。The default is the upper-left corner of the control.

适用于