TextBox.ScrollToLine(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls the line at the specified line index into view.
public:
void ScrollToLine(int lineIndex);
public void ScrollToLine (int lineIndex);
member this.ScrollToLine : int -> unit
Public Sub ScrollToLine (lineIndex As Integer)
Parameters
- lineIndex
- Int32
The zero-based line index of the line to scroll into view.
Remarks
This method causes the text box to scroll by the minimum amount necessary to bring the specified line into full view.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.