FastColoredTextBox Properties

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image

The FastColoredTextBox type exposes the following members.

Properties

  NameDescription
Public propertyAcceptsReturn
Indicates if return characters are accepted as input
Public propertyAcceptsTab
Indicates if tab characters are accepted as input
Public propertyAccessibilityObject
Gets the AccessibleObject assigned to the control.
(Inherited from Control.)
Public propertyAccessibleDefaultActionDescription
Gets or sets the default action description of the control for use by accessibility client applications.
(Inherited from Control.)
Public propertyAccessibleDescription
Gets or sets the description of the control used by accessibility client applications.
(Inherited from Control.)
Public propertyAccessibleName
Gets or sets the name of the control used by accessibility client applications.
(Inherited from Control.)
Public propertyAccessibleRole
Gets or sets the accessible role of the control
(Inherited from Control.)
Public propertyActiveControl
Gets or sets the active control on the container control.
(Inherited from ContainerControl.)
Public propertyAllowDrop
Allows drag and drop
(Overrides Control..::..AllowDrop.)
Public propertyAllowSeveralTextStyleDrawing
Allows text rendering several styles same time.
Public propertyAnchor
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control.)
Public propertyAutoIndent
Allows AutoIndent. Inserts spaces before new line.
Public propertyAutoIndentExistingLines
Does autoindenting in existing lines. It works only if AutoIndent is True.
Public propertyAutoScaleDimensions
Gets or sets the dimensions that the control was designed to.
(Inherited from ContainerControl.)
Protected propertyAutoScaleFactor
Gets the scaling factor between the current and design-time automatic scaling dimensions.
(Inherited from ContainerControl.)
Public propertyAutoScaleMode
Gets or sets the automatic scaling mode of the control.
(Inherited from ContainerControl.)
Public propertyAutoScroll
Do not change this property
(Overrides ScrollableControl..::..AutoScroll.)
Public propertyAutoScrollMargin
Gets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl.)
Public propertyAutoScrollMinSize
Gets or sets the minimum size of the auto-scroll.
(Inherited from ScrollableControl.)
Public propertyAutoScrollOffset
Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).
(Inherited from Control.)
Public propertyAutoScrollPosition
Gets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl.)
Public propertyAutoSize (Inherited from UserControl.)
Public propertyAutoSizeMode
Gets or sets how the control will resize itself.
(Inherited from UserControl.)
Public propertyAutoValidate
Gets or sets how the control performs validation when the user changes focus to another control.
(Inherited from UserControl.)
Public propertyBackBrush
Background brush. If Null then BackColor is used.
Public propertyBackColor
Background color. It is used if BackBrush is null.
(Overrides Control..::..BackColor.)
Public propertyBackgroundImage
Gets or sets the background image displayed in the control.
(Inherited from Control.)
Public propertyBackgroundImageLayout
Gets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from Control.)
Public propertyBindingContext (Inherited from ContainerControl.)
Public propertyBookmarkColor
Color of bookmarks
Public propertyBookmarks
Bookmarks
Public propertyBorderStyle
Gets or sets the border style of the tree view control.
(Inherited from UserControl.)
Public propertyBottom
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control.)
Public propertyBounds
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control.)
Public propertyBracketsStyle
Style for brackets highlighting
Public propertyBracketsStyle2
Style for alternative brackets highlighting
Protected propertyCanEnableIme
Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.
(Inherited from ContainerControl.)
Public propertyCanFocus
Gets a value indicating whether the control can receive focus.
(Inherited from Control.)
Protected propertyCanRaiseEvents
Determines if events can be raised on the control.
(Inherited from Control.)
Public propertyCanSelect
Gets a value indicating whether the control can be selected.
(Inherited from Control.)
Public propertyCapture
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.)
Public propertyCaretColor
Color of caret
Public propertyCaretVisible
Shows or hides the caret
Public propertyCausesValidation
Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
(Inherited from Control.)
Public propertyChangedLineColor
Background color for highlighting of changed lines
Public propertyCharHeight
Height of char in pixels
Public propertyCharWidth
Width of char in pixels
Public propertyClientRectangle
Gets the rectangle that represents the client area of the control.
(Inherited from Control.)
Public propertyClientSize
Gets or sets the height and width of the client area of the control.
(Inherited from Control.)
Public propertyCommentPrefix
Comment line prefix.
Public propertyCompanyName
Gets the name of the company or creator of the application containing the control.
(Inherited from Control.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyContainsFocus
Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
(Inherited from Control.)
Public propertyContextMenu
Gets or sets the shortcut menu associated with the control.
(Inherited from Control.)
Public propertyContextMenuStrip
Gets or sets the ContextMenuStrip associated with this control.
(Inherited from Control.)
Public propertyControls
Gets the collection of controls contained within the control.
(Inherited from Control.)
Public propertyCreated
Gets a value indicating whether the control has been created.
(Inherited from Control.)
Protected propertyCreateParams (Inherited from UserControl.)
Public propertyCurrentAutoScaleDimensions
Gets the current run-time dimensions of the screen.
(Inherited from ContainerControl.)
Public propertyCurrentLineColor
Background color for current line
Public propertyCursor (Overrides Control..::..Cursor.)
Public propertyDataBindings
Gets the data bindings for the control.
(Inherited from Control.)
Protected propertyDefaultCursor
Gets or sets the default cursor for the control.
(Inherited from Control.)
Protected propertyDefaultImeMode
Gets the default Input Method Editor (IME) mode supported by the control.
(Inherited from Control.)
Protected propertyDefaultMargin
Gets the space, in pixels, that is specified by default between controls.
(Inherited from Control.)
Protected propertyDefaultMaximumSize
Gets the length and height, in pixels, that is specified as the default maximum size of a control.
(Inherited from Control.)
Protected propertyDefaultMinimumSize
Gets the length and height, in pixels, that is specified as the default minimum size of a control.
(Inherited from Control.)
Protected propertyDefaultPadding
Gets the internal spacing, in pixels, of the contents of a control.
(Inherited from Control.)
Protected propertyDefaultSize (Inherited from UserControl.)
Public propertyDefaultStyle
Default text style This style is using when no one other TextStyle is not defined in Char.style
Public propertyDelayedEventsInterval
Minimal delay(ms) for delayed events (except TextChangedDelayed).
Public propertyDelayedTextChangedInterval
Minimal delay(ms) for TextChangedDelayed event.
Public propertyDescriptionFile
XML file with description of syntax highlighting. This property works only with Language == Language.Custom.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDisabledColor
Color of disabled component
Public propertyDisplayRectangle
Gets the rectangle that represents the virtual display area of the control.
(Inherited from ScrollableControl.)
Public propertyDisposing
Gets a value indicating whether the base Control class is in the process of disposing.
(Inherited from Control.)
Public propertyDock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.)
Public propertyDockPadding
Gets the dock padding settings for all edges of the control.
(Inherited from ScrollableControl.)
Protected propertyDoubleBuffered
Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
(Inherited from Control.)
Public propertyEnabled
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)
Public propertyEndFoldingLine
End line index of current highlighted folding area. Return -1 if end of area is not found.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFindEndOfFoldingBlockStrategy
Strategy of search of end of folding block
Public propertyfindForm
Public propertyFocused
Gets a value indicating whether the control has input focus.
(Inherited from Control.)
Public propertyFoldedBlockStyle
Style for folded block rendering
Public propertyFoldingIndicatorColor
Color of folding area indicator
Public propertyFont
Font
(Overrides Control..::..Font.)
Protected propertyFontHeight
Gets or sets the height of the font of the control.
(Inherited from Control.)
Public propertyForeColor
Fore color (default style color)
(Overrides Control..::..ForeColor.)
Public propertyHandle
Gets the window handle that the control is bound to.
(Inherited from Control.)
Public propertyHasChildren
Gets a value indicating whether the control contains one or more child controls.
(Inherited from Control.)
Public propertyHasSourceTextBox
Public propertyHeight
Gets or sets the height of the control.
(Inherited from Control.)
Public propertyHighlightFoldingIndicator
Enables folding indicator (left vertical line between folding bounds)
Public propertyHighlightingRangeType
This property specifies which part of the text will be highlighted as you type (by built-in highlighter).
Public propertyHints
Hints
Public propertyHorizontalScroll
Gets the characteristics associated with the horizontal scroll bar.
(Inherited from ScrollableControl.)
Protected propertyHScroll
Gets or sets a value indicating whether the horizontal scroll bar is visible.
(Inherited from ScrollableControl.)
Public propertyHtml
Gets colored text as HTML
Public propertyImeAllowed
Indicates that IME is allowed (for CJK language entering)
Public propertyImeMode
Gets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control.)
Protected propertyImeModeBase (Inherited from Control.)
Public propertyIndentBackColor
Background color of indent area
Public propertyInvokeRequired
Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
(Inherited from Control.)
Public propertyIsAccessible
Gets or sets a value indicating whether the control is visible to accessibility applications.
(Inherited from Control.)
Public propertyIsChanged
Text was changed
Public propertyIsDisposed
Gets a value indicating whether the control has been disposed of.
(Inherited from Control.)
Public propertyIsHandleCreated
Gets a value indicating whether the control has a handle associated with it.
(Inherited from Control.)
Public propertyIsMirrored
Gets a value indicating whether the control is mirrored.
(Inherited from Control.)
Public propertyIsReplaceMode
Is keyboard in replace mode (wide caret) ?
Public propertyItem[([( Int32])])
Gets Line
Public propertyItem[([( Place])])
Gets or sets char and styleId for given place This property does not fire OnTextChanged event
Public propertyLanguage
Language for highlighting by built-in highlighter.
Public propertyLayoutEngine
Gets a cached instance of the control's layout engine.
(Inherited from Control.)
Public propertyLeft
Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
(Inherited from Control.)
Public propertyLeftBracket
Opening bracket for brackets highlighting. Set to '\x0' for disable brackets highlighting.
Public propertyLeftBracket2
Alternative opening bracket for brackets highlighting. Set to '\x0' for disable brackets highlighting.
Public propertyLeftBracketPosition
Position of left highlighted bracket.
Public propertyLeftBracketPosition2
Position of left highlighted alternative bracket.
Public propertyLeftIndent
Left distance to text beginning
Public propertyLeftPadding
Left padding in pixels
Public propertyLineInterval
Interval between lines (in pixels)
Public propertyLineNumberColor
Color of line numbers.
Public propertyLineNumberStartValue
Start value of first line number.
Public propertyLines
Text lines
Public propertyLinesCount
Count of lines
Public propertyLocation
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control.)
Public propertyMargin
Gets or sets the space between controls.
(Inherited from Control.)
Public propertyMaximumSize
Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
Public propertyMinimumSize
Gets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
Public propertyMultiline
Multiline
Public propertyName
Gets or sets the name of the control.
(Inherited from Control.)
Public propertyPadding
Public propertyPaddingBackColor
Background color of padding area
Public propertyPaddings
Padings of text area
Public propertyParent
Gets or sets the parent container of the control.
(Inherited from Control.)
Public propertyParentForm
Gets the form that the container control is assigned to.
(Inherited from ContainerControl.)
Public propertyPreferredLineWidth
This property draws vertical line after defined char position. Set to 0 for disable drawing of vertical line.
Public propertyPreferredSize
Gets the size of a rectangular area into which the control can fit.
(Inherited from Control.)
Public propertyProductName
Gets the product name of the assembly containing the control.
(Inherited from Control.)
Public propertyProductVersion
Gets the version of the assembly containing the control.
(Inherited from Control.)
Public propertyRange
Range of all text
Public propertyReadOnly
Read only
Public propertyRecreatingHandle
Gets a value indicating whether the control is currently re-creating its handle.
(Inherited from Control.)
Public propertyRedoEnabled
Is redo enabled?
Public propertyRegion
Gets or sets the window region associated with the control.
(Inherited from Control.)
Protected propertyRenderRightToLeft Obsolete.
This property is now obsolete.
(Inherited from Control.)
Public propertyreplaceForm
Protected propertyResizeRedraw
Gets or sets a value indicating whether the control redraws itself when resized.
(Inherited from Control.)
Public propertyRight
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control.)
Public propertyRightBracket
Closing bracket for brackets highlighting. Set to '\x0' for disable brackets highlighting.
Public propertyRightBracket2
Alternative closing bracket for brackets highlighting. Set to '\x0' for disable brackets highlighting.
Public propertyRightBracketPosition
Position of right highlighted bracket.
Public propertyRightBracketPosition2
Position of right highlighted alternative bracket.
Public propertyRightToLeft
Protected propertyScaleChildren
Gets a value that determines the scaling of child controls.
(Inherited from Control.)
Public propertySelectedText
Text of current selection
Public propertySelection
Current selection range
Public propertySelectionColor
Color of selected area
Public propertySelectionLength
Length of selected text
Public propertySelectionStart
Start position of selection
Public propertySelectionStyle
Style for rendering Selection area
Public propertyServiceLinesColor
Color of service lines (folding lines, borders of blocks etc.)
Protected propertyShowFocusCues
Gets a value indicating whether the control should display focus rectangles.
(Inherited from Control.)
Public propertyShowFoldingLines
Shows vertical lines between folding start line and folding end line.
Protected propertyShowKeyboardCues
Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
(Inherited from Control.)
Public propertyShowLineNumbers
Shows line numbers.
Public propertyShowScrollBars
Public propertySite
Gets or sets the site of the control.
(Inherited from Control.)
Public propertySize
Gets or sets the height and width of the control.
(Inherited from Control.)
Public propertySourceTextBox
The source of the text. Allows to get text from other FastColoredTextBox.
Public propertyStartFoldingLine
Start line index of current highlighted folding area. Return -1 if start of area is not found.
Public propertyStyles
Styles Maximum style count is 16
Public propertySyntaxHighlighter
Syntax Highlighter
Public propertyTabIndex
Gets or sets the tab order of the control within its container.
(Inherited from Control.)
Public propertyTabLength
Spaces count for tab
Public propertyTabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control.)
Public propertyTag
Gets or sets the object that contains data about the control.
(Inherited from Control.)
Public propertyText
Text of control
(Overrides UserControl..::..Text.)
Public propertyTextSource
TextSource
Public propertyTextVersion
Text version
Public propertyToolTip
ToolTip component
Public propertyToolTipDelay
Delay (ms) of ToolTip
Public propertyTop
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
(Inherited from Control.)
Public propertyTopLevelControl
Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control.)
Public propertyUndoEnabled
Is undo enabled?
Public propertyUseWaitCursor
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control.)
Public propertyVerticalScroll
Gets the characteristics associated with the vertical scroll bar.
(Inherited from ScrollableControl.)
Public propertyVirtualSpace
Enables virtual spaces
Public propertyVisible
Gets or sets a value indicating whether the control and all its parent controls are displayed.
(Inherited from Control.)
Public propertyVisibleRange
Returns current visible range of text
Protected propertyVScroll
Gets or sets a value indicating whether the vertical scroll bar is visible.
(Inherited from ScrollableControl.)
Public propertyWidth
Gets or sets the width of the control.
(Inherited from Control.)
Public propertyWindowTarget
This property is not relevant for this class.
(Inherited from Control.)
Public propertyWordWrap
WordWrap.
Public propertyWordWrapMode
WordWrap mode.

See Also