TextBox
Summary
Represents the text box class.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
Properties
IsReadOnly
Summary
Gets or sets a value indicating whether the current text box is read-only.
Signature
1 | |
Return Value
bool
AcceptsReturn
Summary
Gets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
Signature
1 | |
Return Value
bool
AcceptsTab
Summary
Gets or sets a value that indicates how the text editing control responds when the user presses the TAB key.
Signature
1 | |
Return Value
bool
Text
Summary
Gets or sets the text.
Signature
1 | |
Return Value
string
MinLines
Summary
Gets or sets the minimum number of visible lines.
Signature
1 | |
Return Value
int
MaxLines
Summary
Gets or sets the maximum number of visible lines.
Signature
1 | |
Return Value
int
MaxLength
Summary
Gets or sets the maximum number of characters that can be manually entered into the text box.
Signature
1 | |
Return Value
int
CaretColor
Summary
Gets or sets the color of the insertion caret.
Signature
1 | |
Return Value
Color
SelectionColor
Summary
Gets or sets the text color of the current text selection.
Signature
1 | |
Return Value
Color
BorderColor
Summary
Gets or sets the color of the text box border.
Signature
1 | |
Return Value
Color
SelectionOpacity
Summary
Gets or sets the opacity of the selected text.
Signature
1 | |
Return Value
double
BorderThickness
Summary
Gets or sets the border thickness. Property value can be set using Thickness, number, or a string new Thickness(5),new Thickness(1, 2, 3, 4), 5, "5", "1 2 3 4".
Signature
1 | |
Return Value
Thickness
IsReadOnlyCaretVisible
Summary
Gets or sets a value that indicates whether a read-only text box displays a caret.
Signature
1 | |
Return Value
bool
CharacterCasing
Summary
Gets or sets whether the TextBox control modifies the case of characters as they are typed.
Signature
1 | |
Return Value
CharacterCasing
Related Tutorials
TextAlignment
Summary
Gets or sets a value that indicates the horizontal alignment of text content.
Signature
1 | |
Return Value
TextAlignment
Related Tutorials
TextWrapping
Summary
Gets or sets how the text box should wrap text.
Signature
1 | |
Return Value
TextWrapping
Related Tutorials
HorizontalScrollBarVisibility
Summary
Defines the horizontal scroll bar visibility.
Signature
1 | |
Return Value
ScrollBarVisibility
VerticalScrollBarVisibility
Summary
Defines the vertical scroll bar visibility.
Signature
1 | |
Return Value
ScrollBarVisibility
Events
TextChanged
Summary
Occurs when the text has changed.
Signature
1 | |