menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileEditControl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileEditControl

    Represents a control which is used for editing source files.

    Inheritance
    System.Object
    ScrollControl
    HybridScrollControl
    IntelliScrollableControl
    StreamEditControl
    FileEditControl
    Implements
    IKeyBinderContainer
    ILongOperationController
    System.ComponentModel.ISupportInitialize
    Inherited Members
    HybridScrollControl.BeforeAutoScroll(Int32)
    HybridScrollControl.CheckIfCanStartAutoscroll()
    HybridScrollControl.CorrectPosition()
    HybridScrollControl.DefaultCursor
    HybridScrollControl.DisableHorizontalScroller
    HybridScrollControl.DisableVerticalScroller
    HybridScrollControl.FastScrollingStep
    HybridScrollControl.FastScrollOffset
    HybridScrollControl.IsAutoScrolling
    HybridScrollControl.OnMouseWheel(MouseEventArgs)
    HybridScrollControl.OnResize(EventArgs)
    HybridScrollControl.ScrollLines(Single)
    HybridScrollControl.ScrollOffsetBottom
    HybridScrollControl.ScrollOffsetLeft
    HybridScrollControl.ScrollOffsetRight
    HybridScrollControl.ScrollOffsetTop
    HybridScrollControl.ScrollWindow(Int32, Int32)
    HybridScrollControl.SlowScrollingStep
    HybridScrollControl.VirtualSize
    IntelliScrollableControl.CommonCursor
    IntelliScrollableControl.DownCursor
    IntelliScrollableControl.DownLeftCursor
    IntelliScrollableControl.DownRightCursor
    IntelliScrollableControl.IsIntellyScrollActive
    IntelliScrollableControl.LeftCursor
    IntelliScrollableControl.OnCursorChanged(EventArgs)
    IntelliScrollableControl.ResetCursor()
    IntelliScrollableControl.RightCursor
    IntelliScrollableControl.SpecialCursor
    IntelliScrollableControl.UpCursor
    IntelliScrollableControl.UpdateCursor()
    IntelliScrollableControl.UpLeftCursor
    IntelliScrollableControl.UpRightCursor
    ScrollControl.BeginUpdate()
    ScrollControl.BeginUpdate(BeginUpdateOptions)
    ScrollControl.BorderStyle
    ScrollControl.CancelUpdate()
    ScrollControl.CreateParams
    ScrollControl.Deactivated
    ScrollControl.DisableScrollWindow
    ScrollControl.DiscardPaintMessagesAfterBeginUpdate
    ScrollControl.EndUpdate()
    ScrollControl.EndUpdate(Boolean)
    ScrollControl.EnsurePaintCodeJitted(Boolean)
    ScrollControl.FixRenderOrigin(Graphics)
    ScrollControl.HasControlFocus
    ScrollControl.HorizontalScroll
    ScrollControl.HorizontalScrollTips
    ScrollControl.HorizontalThumbTrack
    ScrollControl.HScroll
    ScrollControl.HScrollBar
    ScrollControl.IgnoreUICues
    ScrollControl.InsideScrollMargins
    ScrollControl.IsActiveControl
    ScrollControl.IsDeactivated
    ScrollControl.IsValidated
    ScrollControl.IsValidating
    ScrollControl.LastMousePosition
    ScrollControl.LastMousePositionToClient()
    ScrollControl.OnBeginUpdateScrollBars()
    ScrollControl.OnControlAdded(ControlEventArgs)
    ScrollControl.OnControlGotFocus()
    ScrollControl.OnControlLostFocus()
    ScrollControl.OnControlRemoved(ControlEventArgs)
    ScrollControl.OnDeactivated(EventArgs)
    ScrollControl.OnEndUpdateScrollBars()
    ScrollControl.OnEnsurePaintCodeJitted()
    ScrollControl.OnEnter(EventArgs)
    ScrollControl.OnHandleCreated(EventArgs)
    ScrollControl.OnInvalidated(InvalidateEventArgs)
    ScrollControl.OnLeave(EventArgs)
    ScrollControl.OnLocationChanged(EventArgs)
    ScrollControl.OnScrollbarsVisibleChanged(EventArgs)
    ScrollControl.OnUpdatingChanged(EventArgs)
    ScrollControl.OnValidated(EventArgs)
    ScrollControl.OnValidating(CancelEventArgs)
    ScrollControl.OnValidatingLostFocus()
    ScrollControl.OnVisibleChanged(EventArgs)
    ScrollControl.PaintPending
    ScrollControl.PaneDesc
    ScrollControl.PreJitPaint
    ScrollControl.ProcessMouseWheel(MouseEventArgs)
    ScrollControl.QueryFocusInside()
    ScrollControl.ScrollWindow(Int32, Int32, Rectangle, Rectangle)
    ScrollControl.ShouldPrepareUpdate()
    ScrollControl.ShouldPrepareUpdate(Boolean)
    ScrollControl.Size
    ScrollControl.SupportsThumbTrack
    ScrollControl.TabIndex
    ScrollControl.UpdateOptions
    ScrollControl.UpdateScrollBars()
    ScrollControl.Updating
    ScrollControl.UpdatingChanged
    ScrollControl.UseSharedScrollBars
    ScrollControl.VerticalScroll
    ScrollControl.VerticalScrollTips
    ScrollControl.VerticalThumbTrack
    ScrollControl.VScroll
    ScrollControl.VScrollBar
    StreamEditControl.AcceptAutoComplete()
    StreamEditControl.AddGuidingTabs(Int32, Int32)
    StreamEditControl.AddTabsToSelection()
    StreamEditControl.AddTabsToSelection(Boolean)
    StreamEditControl.AfterAutoScroll()
    StreamEditControl.AfterPrinting()
    StreamEditControl.AfterTextAreaBrush
    StreamEditControl.AllowDeleteReadOnlyRegion
    StreamEditControl.AllowInsertBeforeReadonlyNewLine
    StreamEditControl.AllowMouseCursorChange
    StreamEditControl.AllowShiftSelectionOld
    StreamEditControl.AlwaysShowScrollers
    StreamEditControl.AppendText(String)
    StreamEditControl.AttachLayoutEventsToParents()
    StreamEditControl.AutoCompleteSingleLexem
    StreamEditControl.AutoFormatText(Int32, Int32)
    StreamEditControl.AutoFormattingManager
    StreamEditControl.AutoIndentGuideline
    StreamEditControl.AutoIndentMode
    StreamEditControl.AutoScrollPosition
    StreamEditControl.AutoScrollRectangle
    StreamEditControl.BackgroundColor
    StreamEditControl.BeforePrinting()
    StreamEditControl.BeginConfigurationChange()
    StreamEditControl.BeginInit()
    StreamEditControl.BeginSelectionUpdate()
    StreamEditControl.BindKeyboard()
    StreamEditControl.Bookmarks
    StreamEditControl.BookmarkTooltipBackgroundBrush
    StreamEditControl.BookmarkTooltipBorderColor
    StreamEditControl.CanCopy
    StreamEditControl.CanCut
    StreamEditControl.CanPaste
    StreamEditControl.CanRedo
    StreamEditControl.CanUndo
    StreamEditControl.CanUndoRedoChanged
    StreamEditControl.ccount
    StreamEditControl.ChangedLinesMarkingLineColor
    StreamEditControl.ChangingStream
    StreamEditControl.CheckControlState()
    StreamEditControl.CheckForGripper(Control)
    StreamEditControl.CheckForSupportedData(IDataObject)
    StreamEditControl.Close()
    StreamEditControl.CloseContextPrompt()
    StreamEditControl.CloseContextTooltip()
    StreamEditControl.CloseFindDialog()
    StreamEditControl.CloseReplaceDialog()
    StreamEditControl.CodeSnipptSize
    StreamEditControl.Collapse()
    StreamEditControl.CollapseAll()
    StreamEditControl.CollapsedAll
    StreamEditControl.CollapsingAll
    StreamEditControl.CollapsingAreaOffset
    StreamEditControl.ColumnGuideItems
    StreamEditControl.ColumnGuidesMeasuringFont
    StreamEditControl.Commands
    StreamEditControl.CommentLine(Int32)
    StreamEditControl.CommentText(CoordinatePoint, CoordinatePoint)
    StreamEditControl.ConfigurationChanged
    StreamEditControl.Configurator
    StreamEditControl.ContextChoiceCheckCursorPosition()
    StreamEditControl.ContextChoiceOn
    StreamEditControl.ContextChoiceSelectedTextInsert
    StreamEditControl.ContextMenuEnabled
    StreamEditControl.ContextMenuManager
    StreamEditControl.ContextMenuOptionsForm
    StreamEditControl.ContextPromptBackgroundBrush
    StreamEditControl.ContextPromptBeforeOpen
    StreamEditControl.ContextPromptBorderColor
    StreamEditControl.ContextPromptClose
    StreamEditControl.ContextPromptOn
    StreamEditControl.ContextPromptOpen
    StreamEditControl.ContextPromptSelectionChanged
    StreamEditControl.ContextPromptSize
    StreamEditControl.ContextPromptUpdate
    StreamEditControl.ContextTooltipBackgroundBrush
    StreamEditControl.ContextTooltipBorderColor
    StreamEditControl.ConvertEncodingAndNewLine(Stream, Encoding, String, Boolean)
    StreamEditControl.ConvertOffsetToVirtualPosition(Int64)
    StreamEditControl.ConvertStream(Stream, Boolean)
    StreamEditControl.ConvertStream(Stream, Encoding, Boolean)
    StreamEditControl.ConvertStream(Stream, String, Boolean)
    StreamEditControl.ConvertStream(Stream, String, Encoding, Boolean)
    StreamEditControl.ConvertVirtualPositionToOffset(Point)
    StreamEditControl.ConvertVirtualPositionToPhysical(Point)
    StreamEditControl.Copy()
    StreamEditControl.CreateAccessibilityInstance()
    StreamEditControl.CreateParser(StreamsWrapper, IConfigLanguage)
    StreamEditControl.CurrentColumn
    StreamEditControl.CurrentLine
    StreamEditControl.CurrentLineHighlightColor
    StreamEditControl.CurrentLineInstance
    StreamEditControl.CurrentLineText
    StreamEditControl.CurrentPosition
    StreamEditControl.CursorGraphicalLocation
    StreamEditControl.CursorManager
    StreamEditControl.CursorPositionChanged
    StreamEditControl.CustomLineWrappingMarkingImage
    StreamEditControl.CustomWrappedLinesMarkingImage
    StreamEditControl.Cut()
    StreamEditControl.DeclineAutoComplete()
    StreamEditControl.DefaultGraphics
    StreamEditControl.DefaultNewLineStyle
    StreamEditControl.DeleteAll()
    StreamEditControl.DeleteChar()
    StreamEditControl.DeleteCharLeft()
    StreamEditControl.DeleteSelected()
    StreamEditControl.DeleteText(CoordinatePoint, CoordinatePoint)
    StreamEditControl.DeleteWord()
    StreamEditControl.DeleteWordLeft()
    StreamEditControl.DestroyParser()
    StreamEditControl.DetachLayoutEventsToParents()
    StreamEditControl.DisableScrollers
    StreamEditControl.DisableScrollersChanged
    StreamEditControl.DisposeType(Type, Boolean)
    StreamEditControl.DoubleClickFromMouseDown(EventArgs)
    StreamEditControl.DragDropRectangle
    StreamEditControl.DrawArea(Graphics, RectangleF, Single, Single, Boolean, Boolean, Boolean, Int32, Single, Size)
    StreamEditControl.DrawAreaBackground(Graphics, Rectangle, RectangleF, Boolean)
    StreamEditControl.DrawCodeSnippetBorder
    StreamEditControl.DrawCollapseIcon(Graphics, Rectangle, Boolean, Boolean)
    StreamEditControl.DrawCollapseRect(RenderedLine, Graphics, Boolean)
    StreamEditControl.DrawColumnGuides(Graphics)
    StreamEditControl.DrawCorner(Graphics, Pen, RectangleF, Boolean, Boolean)
    StreamEditControl.DrawIndentationBlockBackground(Graphics, Single)
    StreamEditControl.DrawIndentGuideline(Graphics, Single)
    StreamEditControl.DrawLexemLine(Graphics, RenderedLine, Single, Single, Boolean, Int32, Single, Size)
    StreamEditControl.DrawLineBorders(Graphics, Single, RenderedLine)
    StreamEditControl.DrawTextArea(Graphics, Rectangle)
    StreamEditControl.DrawTransparentSelection(Graphics, Single, Region, Region)
    StreamEditControl.DrawUserMarginArea(Graphics, Rectangle)
    StreamEditControl.DrawUserMarginText
    StreamEditControl.DrawWaveLines(Graphics, CoordinatePoint, CoordinatePoint, Single)
    StreamEditControl.DropAllFiles
    StreamEditControl.EnableBlockSelection
    StreamEditControl.EnableInlineCollapsing
    StreamEditControl.EnableMD5
    StreamEditControl.EnableSmartInBlockIndent
    StreamEditControl.EncodingChanged
    StreamEditControl.EndConfigurationChange(Boolean)
    StreamEditControl.EndInit()
    StreamEditControl.EndSelectionUpdate()
    StreamEditControl.EscapeKeyProcess()
    StreamEditControl.Expand()
    StreamEditControl.ExpandAll()
    StreamEditControl.ExpandCurrentLine()
    StreamEditControl.ExpandedAll
    StreamEditControl.ExpandingAll
    StreamEditControl.ExtendSelectionToFarRight
    StreamEditControl.FakeEditArea
    StreamEditControl.FileEditLikeVisualStduioSearch
    StreamEditControl.FileExtensions
    StreamEditControl.FillLineCollapsers(RenderedLine, IList, IList)
    StreamEditControl.FillRectWithBorder(Graphics, Brush, Pen, RectangleF)
    StreamEditControl.Find
    StreamEditControl.FindCurrentText()
    StreamEditControl.FindCurrentTextKeyBinder()
    StreamEditControl.FindDialog()
    StreamEditControl.FindDialogLocation
    StreamEditControl.FindNext()
    StreamEditControl.FindNextKeyBinder()
    StreamEditControl.FindRange(String, CoordinatePoint, CoordinatePoint, Boolean, Boolean, Boolean, Boolean)
    StreamEditControl.FindRegex(IParsePoint, Regex, Boolean, Boolean)
    StreamEditControl.FixLineRenderingPositions()
    StreamEditControl.FlushSavedLines
    StreamEditControl.FromIndentClick
    StreamEditControl.GenerateDebugKeyMap()
    StreamEditControl.GenerateDebugMap()
    StreamEditControl.GenerateHTML()
    StreamEditControl.GetAndConvertFormattings(CoordinatePoint, CoordinatePoint, ISnippetFormat)
    StreamEditControl.GetCurrentIndentGuidelinedRegionStack()
    StreamEditControl.GetCurrentStack()
    StreamEditControl.GetCurrentWord()
    StreamEditControl.GetCurrentWord(Int32)
    StreamEditControl.GetCurrentWordColumn()
    StreamEditControl.GetDesiredSize()
    StreamEditControl.GetDistance(Single, Single)
    StreamEditControl.GetFileLanguage(String)
    StreamEditControl.GetLexemCollapsingType(ILexem)
    StreamEditControl.GetLexemsInsideCurrentStack(Boolean)
    StreamEditControl.GetLexemsInsideStack(ConfigStack, Boolean)
    StreamEditControl.GetLexemUnderCursor()
    StreamEditControl.GetLexemUnderCursor(Boolean)
    StreamEditControl.GetLine(Int32)
    StreamEditControl.GetLineBackColorFormats(Int32)
    StreamEditControl.GetLineBackColors(Int32)
    StreamEditControl.GetLineIndicatorRectangle(RenderedLine)
    StreamEditControl.GetLineLength(Int32)
    StreamEditControl.GetLineText(Int32)
    StreamEditControl.GetMinimalWidth
    StreamEditControl.GetNearestParsePointLeft(Int32, Int32)
    StreamEditControl.GetNearestParsePointRight(Int32, Int32)
    StreamEditControl.GetNextPreRenderedLine(RenderedLine)
    StreamEditControl.GetRealCursorPosition()
    StreamEditControl.GetSelectedTextDrawPath()
    StreamEditControl.GetSelectedTextDrawRegion()
    StreamEditControl.GetTextAsHTML()
    StreamEditControl.GetTextAsHTML(CoordinatePoint, CoordinatePoint)
    StreamEditControl.GetTextAsRTF()
    StreamEditControl.GetTextAsRTF(CoordinatePoint, CoordinatePoint)
    StreamEditControl.GetTextAsXML()
    StreamEditControl.GetTextAsXML(CoordinatePoint, CoordinatePoint)
    StreamEditControl.GetTextDrawPath(CoordinatePoint, CoordinatePoint)
    StreamEditControl.GetTextDrawPath(CoordinatePoint, CoordinatePoint, Boolean)
    StreamEditControl.GetTextDrawPath(RectangleF, RectangleF)
    StreamEditControl.GetTextDrawPath(RectangleF, RectangleF, Boolean)
    StreamEditControl.GetTextDrawPathWithoutRightExtending(RectangleF, RectangleF, Boolean)
    StreamEditControl.GetTextDrawRegion(CoordinatePoint, CoordinatePoint)
    StreamEditControl.GoTo(Int32, Int32)
    StreamEditControl.GoToDialog()
    StreamEditControl.GoToLine(Int32)
    StreamEditControl.GraphicsCompositingQuality
    StreamEditControl.GraphicsInterpolationMode
    StreamEditControl.GraphicsSmoothingMode
    StreamEditControl.GraphicsTextRenderingHint
    StreamEditControl.GroupUndo
    StreamEditControl.HideCaret()
    StreamEditControl.HideIndentGuideline()
    StreamEditControl.HighlightCurrentLine
    StreamEditControl.IndentationBlockBackgroundBrush
    StreamEditControl.IndentationBlockBorderColor
    StreamEditControl.IndentationBlockBorderStyle
    StreamEditControl.IndentBlockHighlightingColor
    StreamEditControl.IndentLineColor
    StreamEditControl.IndentTest()
    StreamEditControl.IndentText(CoordinatePoint, CoordinatePoint)
    StreamEditControl.IndicatorMarginClick
    StreamEditControl.IndicatorMarginColor
    StreamEditControl.IndicatorMarginDoubleClick
    StreamEditControl.InsertChar(Char)
    StreamEditControl.InsertCodeSnippet()
    StreamEditControl.InsertDroppedFileIntoText
    StreamEditControl.InsertFile()
    StreamEditControl.InsertFile(String)
    StreamEditControl.InsertMode
    StreamEditControl.InsertModeChanged
    StreamEditControl.InsertText(Int32, Int32, String)
    StreamEditControl.InvalidateAll()
    StreamEditControl.InvalidateAll(Rectangle)
    StreamEditControl.InvalidateRelativeRect(Rectangle)
    StreamEditControl.InvalidateRelativeRect(RectangleF)
    StreamEditControl.IsBlockSelecting
    StreamEditControl.IsCursorChangingAllowed
    StreamEditControl.IsInputKey(Keys)
    StreamEditControl.IsModified
    StreamEditControl.IsRedrawingRequiredBackground()
    StreamEditControl.IsSelecting
    StreamEditControl.JumpToIndentBlockEnd()
    StreamEditControl.JumpToIndentBlockStart()
    StreamEditControl.KeyBinder
    StreamEditControl.KeyBindingProcessor
    StreamEditControl.Language
    StreamEditControl.LanguageChanged
    StreamEditControl.Languages
    StreamEditControl.LeftUserMarginOffset
    StreamEditControl.LineChanged
    StreamEditControl.LineDeleted
    StreamEditControl.LineInserted
    StreamEditControl.LineNumbersAlignment
    StreamEditControl.LineNumbersAreaOffset
    StreamEditControl.LineNumbersColor
    StreamEditControl.LineNumbersFont
    StreamEditControl.LoadConfig(Stream)
    StreamEditControl.LoadConfig(String, String)
    StreamEditControl.LoadConfigFile
    StreamEditControl.LoadStream(Stream)
    StreamEditControl.LoadStream(Stream, IConfigLanguage)
    StreamEditControl.LoadStream(Stream, IConfigLanguage, Encoding)
    StreamEditControl.LockCollapseRegionMarkerUpdate()
    StreamEditControl.LockPaint()
    StreamEditControl.LockSaveLineMarkerUpdate
    StreamEditControl.LockSelection()
    StreamEditControl.LockUpdate()
    StreamEditControl.m_bClosing
    StreamEditControl.m_bEncodingForcedlyChanged
    StreamEditControl.m_bModified
    StreamEditControl.m_savedLinesPoints
    StreamEditControl.MarkAsReadOnly(CoordinatePoint, CoordinatePoint, Color, Color)
    StreamEditControl.MarkChangedLines
    StreamEditControl.MarkerAreaWidth
    StreamEditControl.MarkLineWrapping
    StreamEditControl.MarkSearchResult(FindResult)
    StreamEditControl.MarkSearchResult(FindResult, Boolean)
    StreamEditControl.MarkWrappedLines
    StreamEditControl.MenuFill
    StreamEditControl.MirrorGraphicsPath(GraphicsPath, Int32)
    StreamEditControl.MouseOverSelection()
    StreamEditControl.MoveDown()
    StreamEditControl.MoveLeft()
    StreamEditControl.MoveLeftWord()
    StreamEditControl.MovePageDown()
    StreamEditControl.MovePageUp()
    StreamEditControl.MoveRight()
    StreamEditControl.MoveRightWord()
    StreamEditControl.MoveToBeginning()
    StreamEditControl.MoveToEnd()
    StreamEditControl.MoveToLineEnd()
    StreamEditControl.MoveToLineStart()
    StreamEditControl.MoveUp()
    StreamEditControl.NewDocCreated
    StreamEditControl.NewLineStyle
    StreamEditControl.OnBackColorChanged(EventArgs)
    StreamEditControl.OnBeforeLineNumberPaint
    StreamEditControl.OnClick(EventArgs)
    StreamEditControl.OnDisableScrollersChanged()
    StreamEditControl.OnDragDrop(DragEventArgs)
    StreamEditControl.OnDragLeave(EventArgs)
    StreamEditControl.OnDragOver(DragEventArgs)
    StreamEditControl.OnFakeControlBinded(FakeEditControl)
    StreamEditControl.OnFakeControlUnbinded(FakeEditControl)
    StreamEditControl.OnGotFocus(EventArgs)
    StreamEditControl.OnHScroll(Object, ScrollEventArgs)
    StreamEditControl.OnInsertModeChanged()
    StreamEditControl.OnKeyDown(KeyEventArgs)
    StreamEditControl.OnKeyPress(KeyPressEventArgs)
    StreamEditControl.OnKeyUp(KeyEventArgs)
    StreamEditControl.OnLanguageChanged()
    StreamEditControl.OnLayout(LayoutEventArgs)
    StreamEditControl.OnLostFocus(EventArgs)
    StreamEditControl.OnlyHighlightMatchingBraces
    StreamEditControl.OnMouseClick(MouseEventArgs)
    StreamEditControl.OnMouseDown(MouseEventArgs)
    StreamEditControl.OnMouseEnter(EventArgs)
    StreamEditControl.OnMouseMove(MouseEventArgs)
    StreamEditControl.OnMouseUp(MouseEventArgs)
    StreamEditControl.OnPaint(PaintEventArgs)
    StreamEditControl.OnPrintFooter(Graphics, Rectangle)
    StreamEditControl.OnPrintHeader(Graphics, Rectangle)
    StreamEditControl.OnRightToLeftChanged(EventArgs)
    StreamEditControl.OnSelectionChanged()
    StreamEditControl.OnSingeLineChanged()
    StreamEditControl.OnSizeChanged(EventArgs)
    StreamEditControl.OnSystemColorsChanged(EventArgs)
    StreamEditControl.OnUnprocessedKeyPress(Keys)
    StreamEditControl.OnVScroll(Object, ScrollEventArgs)
    StreamEditControl.OperationStarted
    StreamEditControl.OperationStopped
    StreamEditControl.OutdentText(CoordinatePoint, CoordinatePoint)
    StreamEditControl.OutliningTooltipBeforePopup
    StreamEditControl.OutliningTooltipClose
    StreamEditControl.OutliningTooltipPopup
    StreamEditControl.PaintUserMargin
    StreamEditControl.ParagraphOffset
    StreamEditControl.Parser
    StreamEditControl.ParserCreated
    StreamEditControl.ParserDestroyed
    StreamEditControl.Paste()
    StreamEditControl.PasteData(IDataObject)
    StreamEditControl.PhysicalLineCount
    StreamEditControl.PointBelongsToSelection(Point)
    StreamEditControl.PointBelongToIndicatorMargin(Point)
    StreamEditControl.PointBelongToSelectionArea(Point)
    StreamEditControl.PointBelongToTextArea(Point)
    StreamEditControl.PointToPhysicalPosition(Point)
    StreamEditControl.PointToVirtualPosition(Point)
    StreamEditControl.PointToVirtualPosition(Point, Boolean)
    StreamEditControl.Print()
    StreamEditControl.PrintCurrentPage()
    StreamEditControl.PrintDocument
    StreamEditControl.PrintFooter
    StreamEditControl.PrintHeader
    StreamEditControl.PrintHeaderAndFooter
    StreamEditControl.PrintNoDialog()
    StreamEditControl.PrintPages(Int32, Int32)
    StreamEditControl.PrintPreview()
    StreamEditControl.PrintSelection()
    StreamEditControl.ProcessClickOnLineCollapse(ILexemLine)
    StreamEditControl.ProcessCollapsing(IList, Boolean)
    StreamEditControl.ProcessIntellisenseKey(KeyPressEventArgs)
    StreamEditControl.ProcessOperationEnd(ILongOperation)
    StreamEditControl.ProcessOperationStart(ILongOperation)
    StreamEditControl.RaiseChangingStreamEvent()
    StreamEditControl.RaiseConfigurationChangedEvent()
    StreamEditControl.RaiseCursorPositionChangedEvent()
    StreamEditControl.RaiseInsertModeChangedEvent()
    StreamEditControl.RaiseLanguageChangedEvent()
    StreamEditControl.RaisePaintUserMarginEvent(Graphics, Rectangle)
    StreamEditControl.RaiseReadOnlyChangedEvent()
    StreamEditControl.RaiseUpdateChangedStateEvent()
    StreamEditControl.ReadOnly
    StreamEditControl.readOnly_layer
    StreamEditControl.ReadOnlyChanged
    StreamEditControl.RecalculateSpaces(Int32)
    StreamEditControl.RectangleToRTL(RectangleF)
    StreamEditControl.Refresh()
    StreamEditControl.RegisterBackColorFormat(Color, Color, Color, HatchStyle, Boolean)
    StreamEditControl.RegisterBackColorFormat(Color, Color, HatchStyle, Boolean)
    StreamEditControl.RegisterDefaultKeyBindings()
    StreamEditControl.RegisteringDefaultKeyBindings
    StreamEditControl.RegisteringKeyCommands
    StreamEditControl.RegisterKeyCommands()
    StreamEditControl.RegisterUnderlineFormat(Color, UnderlineStyle, UnderlineWeight)
    StreamEditControl.RemeasureLinesWrapping()
    StreamEditControl.RemoveGuidingTabs(Int32, Int32)
    StreamEditControl.RemoveLineBackColor(Int32)
    StreamEditControl.RemoveReadOnly(CoordinatePoint, CoordinatePoint)
    StreamEditControl.RemoveSelectionBackColor()
    StreamEditControl.RemoveTabsFromSelection()
    StreamEditControl.RemoveTextBorder(CoordinatePoint, CoordinatePoint)
    StreamEditControl.RemoveUnderline(CoordinatePoint, CoordinatePoint)
    StreamEditControl.RemoveWaveLines()
    StreamEditControl.ReplaceDialog()
    StreamEditControl.ReplaceLexemsInRegion(IParsePoint, IParsePoint, FormatType, LexemReplaceEventHandler)
    StreamEditControl.ReplaceLexemsInSelection(FormatType, LexemReplaceEventHandler)
    StreamEditControl.ReplaceNewLineKey(String)
    StreamEditControl.ResetColoring(IConfigLanguage)
    StreamEditControl.ResetSelection()
    StreamEditControl.ResetUndoInfo()
    StreamEditControl.RespectTabStopsOnInsertingText
    StreamEditControl.RestoreViewInfo(StreamEditControl.SavedViewInfo)
    StreamEditControl.SaveAsHTML(String, Boolean)
    StreamEditControl.SaveAsRTF(String)
    StreamEditControl.SaveAsXML(String)
    StreamEditControl.SaveCurrentViewInfo()
    StreamEditControl.SavedLinesMarkingLineColor
    StreamEditControl.SaveStreamWithDataLoss
    StreamEditControl.SaveToStream()
    StreamEditControl.SaveToStream(Stream)
    StreamEditControl.SaveToStream(Stream, Encoding, String)
    StreamEditControl.ScrollLines(HybridScrollControl.ScrollDirection, Single)
    StreamEditControl.ScrollToCaret()
    StreamEditControl.SelectAll()
    StreamEditControl.SelectedText
    StreamEditControl.Selection
    StreamEditControl.SelectionCancel()
    StreamEditControl.SelectionChanged
    StreamEditControl.SelectionLineNumberOffset
    StreamEditControl.SelectionMarginBackgroundColor
    StreamEditControl.SelectionMarginForegroundColor
    StreamEditControl.SelectionMarginOffset
    StreamEditControl.SelectionMarginWidth
    StreamEditControl.SelectionMode
    StreamEditControl.SelectLineCursor
    StreamEditControl.SelectOnLineNumbersClick
    StreamEditControl.SelectTextAfterDragDrop
    StreamEditControl.SerializeCollapse()
    StreamEditControl.SetBackgroundColor(CoordinatePoint, CoordinatePoint, Color)
    StreamEditControl.SetCursorToClientPoint(Int32, Int32)
    StreamEditControl.SetCursorToPoint(Int32, Int32)
    StreamEditControl.SetLineBackColor(Int32, Boolean, IBackgroundFormat)
    StreamEditControl.SetPageBorder(FrameBorderStyle, Color, BorderWeight)
    StreamEditControl.SetRangeBackcolor(CoordinatePoint, CoordinatePoint, ISnippetFormat)
    StreamEditControl.SetSelection(Int32, Int32, Int32, Int32)
    StreamEditControl.SetSelectionBackColor(Color)
    StreamEditControl.SetSelectionBackColor(IBackgroundFormat)
    StreamEditControl.SetSelectionBorder(Color, FrameBorderStyle, BorderWeight)
    StreamEditControl.SetSelectionEnd(CoordinatePoint)
    StreamEditControl.SetSelectionRanges(IList)
    StreamEditControl.SetSelectionReadOnly()
    StreamEditControl.SetSelectionStart(CoordinatePoint)
    StreamEditControl.SetSelectionStrikeout(Color)
    StreamEditControl.SetSelectionTextColor(Color)
    StreamEditControl.SetSelectionUnderline(Color, FrameBorderStyle, BorderWeight)
    StreamEditControl.SetTextBorder(CoordinatePoint, CoordinatePoint, Color, FrameBorderStyle, BorderWeight)
    StreamEditControl.SetTextColor(CoordinatePoint, CoordinatePoint, Color)
    StreamEditControl.SetTextStrikeOut(CoordinatePoint, CoordinatePoint, Color)
    StreamEditControl.SetUnderline(CoordinatePoint, CoordinatePoint, ISnippetFormat)
    StreamEditControl.SetWaveLines()
    StreamEditControl.ShiftGraphicsPath(GraphicsPath, Single, Single)
    StreamEditControl.ShowBookmarkTooltips
    StreamEditControl.ShowCaret()
    StreamEditControl.ShowCodeSnippets()
    StreamEditControl.ShowCollapse
    StreamEditControl.ShowColumnGuides
    StreamEditControl.ShowContentDividers
    StreamEditControl.ShowContextChoice()
    StreamEditControl.ShowContextPrompt()
    StreamEditControl.ShowContextTooltip
    StreamEditControl.ShowFileDropNotification
    StreamEditControl.ShowIndentationBlockBorders
    StreamEditControl.ShowIndentationGuidelines
    StreamEditControl.ShowIndentGuideline()
    StreamEditControl.ShowLineNumbers
    StreamEditControl.ShowMarkers
    StreamEditControl.ShowOutliningCollapsers
    StreamEditControl.ShowOutliningTooltip
    StreamEditControl.ShowSelectionMargin
    StreamEditControl.ShowTextArea
    StreamEditControl.ShowUserMargin
    StreamEditControl.ShowWhiteSpaceProperties
    StreamEditControl.ShowWhitespaces
    StreamEditControl.SingleLineChanged
    StreamEditControl.SingleLineMode
    StreamEditControl.SmartGetCurrentText()
    StreamEditControl.SpaceBetweenLines
    StreamEditControl.StartOperation(String)
    StreamEditControl.StartSelection()
    StreamEditControl.StartSelection(Int32, Int32)
    StreamEditControl.StopSelection()
    StreamEditControl.StopSelection(Int32, Int32)
    StreamEditControl.StrikeOutSelectedText()
    StreamEditControl.SwitchCollapsingOff()
    StreamEditControl.SwitchCollapsingOn()
    StreamEditControl.TabifySelection()
    StreamEditControl.TabSize
    StreamEditControl.TabStopsArray
    StreamEditControl.TestProc()
    StreamEditControl.Text
    StreamEditControl.TextAreaLineColor
    StreamEditControl.TextAreaLineStyle
    StreamEditControl.TextAreaWidth
    StreamEditControl.TextChanged
    StreamEditControl.TextChanging
    StreamEditControl.ToggleInsertMode()
    StreamEditControl.ToggleLineCollapsing()
    StreamEditControl.ToggleShowingWhiteSpaces()
    StreamEditControl.ToolTipDelay
    StreamEditControl.TransferFocusOnTab
    StreamEditControl.TransparentSelection
    StreamEditControl.TryToCompleteWord()
    StreamEditControl.UnCommentLine(Int32)
    StreamEditControl.UncommentText(CoordinatePoint, CoordinatePoint)
    StreamEditControl.UndoGroupCancel()
    StreamEditControl.UndoGroupClose()
    StreamEditControl.UndoGroupOpen()
    StreamEditControl.UnLockCollapseRegionMarkerUpdate()
    StreamEditControl.UnlockPaint()
    StreamEditControl.UnlockSelection()
    StreamEditControl.UnlockUpdate()
    StreamEditControl.UnreachableTextFound
    StreamEditControl.UntabifySelection()
    StreamEditControl.UpdateBookmarkToolTip
    StreamEditControl.UpdateContextChoice()
    StreamEditControl.UpdateContextChoiceList
    StreamEditControl.UpdateContextPrompt()
    StreamEditControl.UpdateContextToolTip
    StreamEditControl.UpdateIndentation()
    StreamEditControl.UpdateIndentationGuideLineEnd()
    StreamEditControl.UpdateLastCursorPosition()
    StreamEditControl.UpdateMeasuringInfo()
    StreamEditControl.UpdateScrollBarsSize()
    StreamEditControl.UpdateScrollBarsVisibility()
    StreamEditControl.UpdateScrollerOffsets(IntelliScrollableControl)
    StreamEditControl.UpdateScrollerVerticalSize()
    StreamEditControl.UpdateScrollerVerticalSize(IntelliScrollableControl, Boolean)
    StreamEditControl.UpdateScrollInfo()
    StreamEditControl.UseAutoreplaceTriggers
    StreamEditControl.UseCustomSizeContextPrompt
    StreamEditControl.UseNativeDrawing
    StreamEditControl.UserMarginBackgroundColor
    StreamEditControl.UserMarginBorderColor
    StreamEditControl.UserMarginPlacement
    StreamEditControl.UserMarginTextColor
    StreamEditControl.UserMarginTextFont
    StreamEditControl.UserMarginWidth
    StreamEditControl.UseTabs
    StreamEditControl.UseTabStops
    StreamEditControl.UseXPStyle
    StreamEditControl.UseXPStyleBorder
    StreamEditControl.VirtualLineNumberOffset
    StreamEditControl.VirtualSpaceMode
    StreamEditControl.VisibleLineCount
    StreamEditControl.VisualColumn
    StreamEditControl.VScrollMode
    StreamEditControl.WndProc(Message)
    StreamEditControl.WordWrap
    StreamEditControl.WordWrapChanged
    StreamEditControl.WordWrapColumn
    StreamEditControl.WordWrapColumnMeasuringFont
    StreamEditControl.WrapAroundSearch
    StreamEditControl.WrapMarkingImage
    StreamEditControl.WrapMode
    StreamEditControl.WrappedLinesMarkingImage
    StreamEditControl.WrappedLinesOffset
    StreamEditControl.WrapType
    Namespace: Syncfusion.Windows.Forms.Edit
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class FileEditControl : StreamEditControl, IKeyBinderContainer, ILongOperationControllerInternal, ILongOperationController, ISupportInitialize

    Constructors

    FileEditControl()

    Initializes a new instance of the FileEditControl class.

    Declaration
    public FileEditControl()

    Properties

    ConvertOnLoad

    Gets or sets a value indicating whether the file should be converted when loading the control.

    Declaration
    public bool ConvertOnLoad { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    Such file conversion is needed if file contains different new-line symbols or sequences.

    DisplayFileName

    Gets the display name of the file. The main difference from the FileName property is that Untitled.[ext] will be returned if file name is not set.

    Declaration
    public string DisplayFileName { get; }
    Property Value
    Type
    System.String

    FileName

    Gets or sets the name of the currently opened file.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type
    System.String

    FileOpened

    Gets or sets the file stream that is currently opened in EditControl. If null, it means that we are working not with a file stream.

    Declaration
    public FileStream FileOpened { get; set; }
    Property Value
    Type
    System.IO.FileStream

    FlushUndoRedoOnSave

    Gets or sets a value indicating whether to enable Undo or Redo after save.

    Declaration
    public bool FlushUndoRedoOnSave { get; set; }
    Property Value
    Type
    System.Boolean

    PseudoFileName

    Gets or sets the file name to be shown in SaveAs dialog.

    Declaration
    public string PseudoFileName { get; set; }
    Property Value
    Type
    System.String

    SaveOnClose

    Gets or sets a value indicating whether the save prompt dialog should be displayed before EditControl is disposed or not.

    Declaration
    public bool SaveOnClose { get; set; }
    Property Value
    Type
    System.Boolean

    SharedFileMode

    Gets or sets a value indicating whether the file should be opened in shared mode or not.

    Declaration
    public bool SharedFileMode { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    ChangeEncoding(Encoding, Boolean)

    Changes encoding of the underlying stream.

    Declaration
    protected override void ChangeEncoding(Encoding newEncoding, bool bForced)
    Parameters
    Type Name Description
    System.Text.Encoding newEncoding

    New encoding.

    System.Boolean bForced

    bForced.

    Overrides
    StreamEditControl.ChangeEncoding(Encoding, Boolean)

    CloseStream()

    Closes input stream wrapper. Does not close underlying stream.

    Declaration
    protected override bool CloseStream()
    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    Overrides
    StreamEditControl.CloseStream()

    Dispose(Boolean)

    Clean up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    True to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    StreamEditControl.Dispose(Boolean)

    LoadFile()

    Loads the content of any desired file and its configuration into the EditControl, instead of typing the code in it.

    Declaration
    public virtual bool LoadFile()
    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    LoadFile(String)

    Loads the content of any desired file and its configuration into the EditControl, instead of typing the code in it.

    Declaration
    public override bool LoadFile(string fileName)
    Parameters
    Type Name Description
    System.String fileName

    Name of the file to load.

    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    Overrides
    StreamEditControl.LoadFile(String)

    LoadFile(String, Boolean, Boolean)

    Load file and configuration for it.

    Declaration
    protected virtual bool LoadFile(string fileName, bool convert, bool shared)
    Parameters
    Type Name Description
    System.String fileName

    Name of the file to load.

    System.Boolean convert

    Specifies whether file should be corrected on load.

    System.Boolean shared

    Specifies whether file is opened in shared mode, when entire file is loaded into memory.

    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    LoadFile(String, Boolean, Boolean, Encoding)

    Load file and configuration for it.

    Declaration
    protected virtual bool LoadFile(string fileName, bool convert, bool shared, Encoding encoding)
    Parameters
    Type Name Description
    System.String fileName

    Name of the file to load.

    System.Boolean convert

    Specifies whether file should be corrected on load.

    System.Boolean shared

    Specifies whether file is opened in shared mode, when entire file is loaded into memory.

    System.Text.Encoding encoding

    Encoding to use.

    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    LoadFile(String, Encoding)

    Loads the content of any desired file and its configuration into the EditControl, instead of typing the code in it.

    Declaration
    public virtual bool LoadFile(string fileName, Encoding encoding)
    Parameters
    Type Name Description
    System.String fileName

    Name of the file to load.

    System.Text.Encoding encoding

    Encoding to use while loading.

    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    MenuHandlerOpen(Object, EventArgs)

    Handles File->Open context menu item.

    Declaration
    protected override void MenuHandlerOpen(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Sender.

    System.EventArgs e

    EventArgs.

    Overrides
    StreamEditControl.MenuHandlerOpen(Object, EventArgs)

    MenuHandlerSave(Object, EventArgs)

    Handles File->Save context menu item.

    Declaration
    protected override void MenuHandlerSave(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Sender.

    System.EventArgs e

    EventArgs.

    Overrides
    StreamEditControl.MenuHandlerSave(Object, EventArgs)

    MenuHandlerSaveAs(Object, EventArgs)

    Handles File->SaveAs context menu item.

    Declaration
    protected override void MenuHandlerSaveAs(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Sender.

    System.EventArgs e

    EventArgs.

    Overrides
    StreamEditControl.MenuHandlerSaveAs(Object, EventArgs)

    New()

    Creates empty stream and makes editor to edit it.

    Declaration
    protected bool New()
    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    New(IConfigLanguage)

    Creates empty stream and makes editor to edit it.

    Declaration
    protected bool New(IConfigLanguage lang)
    Parameters
    Type Name Description
    IConfigLanguage lang

    Language of new stream.

    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    NewFile()

    Creates new empty file with specified configuration.

    Declaration
    public virtual bool NewFile()
    Returns
    Type Description
    System.Boolean

    True if file was created, otherwise false.

    NewFile(IConfigLanguage)

    Creates new empty file with specified configuration.

    Declaration
    public virtual bool NewFile(IConfigLanguage lang)
    Parameters
    Type Name Description
    IConfigLanguage lang

    Language to be used for text coloring.

    Returns
    Type Description
    System.Boolean

    True if file was created, otherwise false.

    OnConfigurationChanged()

    Updates filters in Save and Open Dialog.

    Declaration
    protected override void OnConfigurationChanged()
    Overrides
    StreamEditControl.OnConfigurationChanged()

    OnParentChanged(EventArgs)

    Adds event handler for parent changed event.

    Declaration
    protected override void OnParentChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    EventArgs.

    Overrides
    ScrollControl.OnParentChanged(EventArgs)

    Redo()

    Performs Redo operation that helps to reinsert the last change made in EditControl.

    Declaration
    public override void Redo()
    Overrides
    StreamEditControl.Redo()

    Save()

    Saves the text to file loaded in EditControl.

    Declaration
    public virtual bool Save()
    Returns
    Type Description
    System.Boolean

    True if file was successfully saved. False is returned only if user has cancelled saving somehow.

    SaveAs()

    Shows SaveAs dialog and saves data to specified file.

    Declaration
    public virtual bool SaveAs()
    Returns
    Type Description
    System.Boolean

    True if operation succeeds.

    SaveFile(String, Encoding, String)

    Saves content to the specified file.

    Declaration
    public virtual bool SaveFile(string fileName, Encoding encoding, string lineEndString)
    Parameters
    Type Name Description
    System.String fileName

    Name of the file to which the text has to be saved.

    System.Text.Encoding encoding

    Encoding that has to be used when saving. Can be null.

    System.String lineEndString

    Line end string. Can be empty.

    Returns
    Type Description
    System.Boolean

    bool indicating whether saving succeeded.

    SaveModified()

    Saves the file only if it was modified and prompts for filename if needed. This is especially useful when the application is about to be closed or a new file is being loaded into the EditControl.

    Declaration
    public virtual bool SaveModified()
    Returns
    Type Description
    System.Boolean

    False if file was changed but user decided not to save file, otherwise true.

    Undo()

    Performs Undo operation that erase the last change made in the document of EditControl.

    Declaration
    public override void Undo()
    Overrides
    StreamEditControl.Undo()

    Events

    FileNameChanged

    Occurs after the file name has changed.

    Declaration
    public event EventHandler FileNameChanged
    Event Type
    Type
    System.EventHandler

    SaveFileWithDataLoss

    Occurs when user tries to save file with data loosing.

    Declaration
    public event SaveWithDataLosingEventHandler SaveFileWithDataLoss
    Event Type
    Type
    SaveWithDataLosingEventHandler

    StreamClose

    Occurs when underlying stream is about to close and user should decide if he want to save the changes in file.

    Declaration
    public event StreamCloseEventHandler StreamClose
    Event Type
    Type
    StreamCloseEventHandler

    Implements

    IKeyBinderContainer
    ILongOperationController
    System.ComponentModel.ISupportInitialize
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved