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); }
Write down some of the layout Panels of WPF?
Briefly state the characteristics of the value-type variables which C# programming language supports.
Specify the function of CheckState property of the CheckBox control?
Why XMLHttpRequest object is used in the AJAX?
Explain the characteristics of the value-type variables which are supported in a C# programming language.
Illustrate in brief the main difference between Navigation application and XBAPs in the WPF?
Explain about the UpdatePanel control.
By what way we can recognize that the page is PostBack?
What do you know about parameter and explain new types of the parameters introduced in the C# 4.0?
Briefly describe about keywords also give example.
18,76,764
1926894 Asked
3,689
Active Tutors
1415782
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!