RichTextBox control
How the cursor can be programmatically positioned on a given line or on a character in the RichTextBox control in C#?
Expert
RichTextBox control consists of the Lines array property, that exhibit one item of array in a separate line. Every line entry has a Length property that may be used in order to properly position cursor at a character, it is demonstrated in the following given code snippet:
private void GoToLineAndColumn(RichTextBox RTB, int Line, int Column) { int offset = 0; for(int i = 0; i < Line -1 && i < RTB.Lines.Length; i++) { offset += RTB.Lines[i].Length + 1; } RTB.Focus(); RTB.Select(offset + Column, 0); }
State some of the different ways in order to pass parameters to the server?
Explain what is PLINQ?
Describe managed extensibility framework?
Briefly describe contra-variance and covariance in .NET Framework 4.0 and give an example for both?
Explain an identifier in detail?
Why the data validations should be performed at a client side?
In ASP.Net which namespaces imported automatically by Visual Studio?
How submaster page is differ from the top-level master page?
Explain the use of a Connection object?
Explain the various Visual Basic features which support LINQ?
18,76,764
1947034 Asked
3,689
Active Tutors
1428134
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!