New to Telerik UI for WinFormsStart a free 30-day trial

The primary element of the RadSyntaxEditor control that provides syntax highlighting, text editing, and code visualization capabilities.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class RadSyntaxEditorElement : FrameworkElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, ITextDocumentEditor, IDisposable

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadSyntaxEditorElement...

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChangedIStylableNodeISupportDropISupportSystemSkinITextDocumentEditor...

Inherited Members FrameworkElement.RenderTransformPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.CursorPropertyFrameworkElement.ForegroundPropertyFrameworkElement.HeightPropertyFrameworkElement.WidthPropertyFrameworkElement.GetClientRectangle(SizeF)FrameworkElement.PaintElement(IGraphics, float, SizeF)FrameworkElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)FrameworkElement.DragDrop(Point, ISupportDrag)FrameworkElement.DragOver(Point, ISupportDrag)FrameworkElement.DragEnter(Point, ISupportDrag)FrameworkElement.DragLeave(Point, ISupportDrag)FrameworkElement.FlowDirectionFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.ActualHeightFrameworkElement.ActualWidthFrameworkElement.CursorFrameworkElement.RenderTransformOriginFrameworkElement.MouseOverBorderThicknessFrameworkElement.BorderBrushFrameworkElement.BackgroundFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.HorizontalContentAlignmentFrameworkElement.VerticalContentAlignmentFrameworkElement.AllowDropUIElement.TextPropertyUIElement.FlowDirectionPropertyUIElement.ClipPropertyUIElement.UpdateRenderTransform()UIElement.CaptureMouse()UIElement.ReleaseMouseCapture()UIElement.Paint(IPaintingContext)UIElement.CanPaint(IPaintingContext)UIElement.PaintCore(IPaintingContext)UIElement.ClearValue(RadProperty)UIElement.IsKeyboardFocusWithin()UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)UIElement.OnMouseClick(MouseButtonEventArgs)UIElement.OnMouseDoubleClick(MouseButtonEventArgs)UIElement.HitTest(Point)UIElement.GetClipRect()UIElement.DoClick(EventArgs)UIElement.DoDoubleClick(EventArgs)UIElement.OnMouseDown(MouseEventArgs)UIElement.DoMouseWheel(MouseEventArgs)UIElement.DoMouseMove(MouseEventArgs)UIElement.OnMouseUp(MouseEventArgs)UIElement.OnBubbleEvent(RadElement, RoutedEventArgs)UIElement.OnClick(EventArgs)UIElement.OnDoubleClick(EventArgs)UIElement.OnLostFocus(EventArgs)UIElement.OnBoundsChanged(RadPropertyChangedEventArgs)UIElement.IsFocusableUIElement.TextUIElement.AutomationIDUIElement.RenderTransformUIElement.ClipUIElement.IsHitTestVisibleUIElement.DispatcherUIElement.HasReceivedFocusUIElement.MouseLeftButtonDownUIElement.MouseLeftButtonUpUIElement.MouseRightButtonDownUIElement.MouseRightButtonUpUIElement.MouseClickUIElement.MouseDoubleClickUIElement.GotFocusUIElement.LostFocusVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.DisposeManagedResources()RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadSyntaxEditorElement class with default settings for syntax highlighting and text editing.

C#
public RadSyntaxEditorElement()

Fields

Registers the AcceptsReturn property.

C#
public static readonly RadProperty AcceptsReturnProperty

Registers the AllowScaling dependency property.

C#
public static readonly RadProperty AllowScalingProperty
C#
public static readonly RadProperty BorderColorProperty

Registers the CaretBrush dependency property.

C#
public static readonly RadProperty CaretBrushProperty
C#
public static readonly string DEFAULT_NAMESPACE

Registers the EditorFontFamily dependency property.

C#
public static readonly RadProperty EditorFontFamilyProperty

Registers the EditorFontSize dependency property.

C#
public static readonly RadProperty EditorFontSizeProperty

Registers the dependency property.

C#
public static readonly RadProperty EditorFontStretchProperty

Registers the dependency property.

C#
public static readonly RadProperty EditorFontStyleProperty

Registers the dependency property.

C#
public static readonly RadProperty EditorFontWeightProperty

Registers the HorizontalScrollBarVisibility dependency property.

C#
public static readonly RadProperty HorizontalScrollBarVisibilityProperty

Registers the IndentProvider property.

C#
public static readonly RadProperty IndentProviderProperty

Registers the InsertMode property.

C#
public static readonly RadProperty InsertModeProperty

Registers the IsCaretVisible dependency property.

C#
public static readonly RadProperty IsCaretVisibleProperty

Registers the IsReadOnly property.

C#
public static readonly RadProperty IsReadOnlyProperty

Registers the IsSelectionEnabled dependency property.

C#
public static readonly RadProperty IsSelectionEnabledProperty

Registers the IsWordWrapEnabledProperty dependency property.

C#
public static readonly RadProperty IsWordWrapEnabledProperty

Registers the Palette dependency property.

C#
public static readonly RadProperty PaletteProperty

Registers the ScaleFactor dependency property.

C#
public static readonly RadProperty ScaleFactorProperty
C#
public static readonly RadProperty SelectionFillColorProperty

Registers the SelectionFill dependency property.

C#
public static readonly RadProperty SelectionFillProperty
C#
public static readonly RadProperty SelectionStrokeColorProperty

Registers the SelectionStroke dependency property.

C#
public static readonly RadProperty SelectionStrokeProperty

Registers the ShouldTaggersProcessEntireLinesProperty dependency property.

C#
public static readonly RadProperty ShouldTaggersProcessEntireLinesProperty

Registers the ShowLineNumbers dependency property.

C#
public static readonly RadProperty ShowLineNumbersProperty

Registers the VerticalScrollBarVisibility dependency property.

C#
public static readonly RadProperty VerticalScrollBarVisibilityProperty

Properties

Gets or sets a value indicating whether [accepts return].

C#
public bool AcceptsReturn { get; set; }
Property Value:

true if [accepts return]; otherwise, false.

Gets or sets a value indicating whether the content of the syntax editor can be scaled (zoomed in or out).

C#
public bool AllowScaling { get; set; }

Gets or sets the color of the border around the syntax editor.

C#
[VsbBrowsable(true)]
public Color BorderColor { get; set; }

Gets or sets the brush used to render the text cursor (caret) in the syntax editor.

C#
public Brush CaretBrush { get; set; }

Gets or sets the color of the text cursor (caret) in the syntax editor.

C#
public Color CaretColor { get; set; }

Gets or sets the visual style of the text cursor (caret) in the syntax editor, such as block, underline, or normal vertical line.

C#
public CaretDisplayMode CaretDisplayMode { get; set; }

Gets the current position of the text cursor (caret) within the document.

C#
public CaretPosition CaretPosition { get; }

Gets or sets the width of the text cursor (caret) in the syntax editor.

C#
public double CaretWidth { get; set; }

Gets the collection of available editor commands that can be executed on this syntax editor.

C#
public SyntaxEditorCommands Commands { get; }

Gets or sets the current insert mode.

C#
public string CurrentInsertMode { get; set; }
Property Value:

The current insert mode.

Gets or sets the text document that is being displayed and edited in the syntax editor.

C#
public TextDocument Document { get; set; }

Implements: ITextDocumentEditor.Document

Gets or sets the font family used to render text in the syntax editor.

C#
public FontFamily EditorFontFamily { get; set; }

Gets or sets the font size used to render text in the syntax editor.

C#
public double EditorFontSize { get; set; }

Gets the presenter component responsible for rendering and displaying the text content in the syntax editor.

C#
public SyntaxEditorPresenter EditorPresenter { get; }

Gets the component responsible for handling code folding functionality, allowing collapsing and expanding of code regions.

C#
public FoldingManager FoldingManager { get; }

Gets the horizontal scroll bar element that enables scrolling through content that extends beyond the visible width of the editor.

C#
public RadScrollBarElement HorizontalScrollBar { get; }

Gets or sets the indent provider.

C#
public ISmartIndentProvider IndentProvider { get; set; }
Property Value:

The indent provider.

Gets or sets an instance of SyntaxEditorInputBehavior that will handle user input.

C#
public SyntaxEditorInputBehavior InputHandler { get; set; }

Gets the intelli prompts.

C#
public SyntaxEditorIntelliPrompts IntelliPrompts { get; }
Property Value:

The intelli prompts.

Gets or sets a value indicating whether the text cursor (caret) is visible in the syntax editor.

C#
public bool IsCaretVisible { get; set; }

Gets a value indicating whether this instance is in undo group.

C#
public bool IsInUndoGroup { get; }
Property Value:

true if this instance is in undo group; otherwise, false.

Gets or sets a value indicating whether this instance is overwrite mode enabled.

C#
public bool IsOverwriteModeEnabled { get; set; }
Property Value:

true if this instance is overwrite mode enabled; otherwise, false.

Gets or sets a value indicating whether this instance is read only.

C#
public bool IsReadOnly { get; set; }
Property Value:

true if this instance is read only; otherwise, false.

Gets or sets a value indicating whether text selection is enabled in the syntax editor.

C#
public bool IsSelectionEnabled { get; set; }

Gets or sets a value indicating whether text should automatically wrap to the next line when it exceeds the width of the editor.

C#
public bool IsWordWrapEnabled { get; set; }

Gets the margins collection that defines the space around the text content in the syntax editor.

C#
public SyntaxEditorMargins Margins { get; }

Gets or sets the palette of syntax elements' colors used for this RadSyntaxEditorElement instance.

C#
public SyntaxEditorPalette Palette { get; set; }

Gets the collection of properties that control the behavior and appearance of the syntax editor.

C#
public SyntaxEditorProperties Properties { get; }

Gets or sets the zoom level of the syntax editor content as a multiplier value (1.0 is normal size, 2.0 is double size, etc.).

C#
public double ScaleFactor { get; set; }

Gets the popup control that provides find and replace functionality in the editor.

C#
public FindReplacePopup SearchPanel { get; }

Gets the selection.

C#
public Selection Selection { get; }
Property Value:

The selection.

Gets or sets the selection fill.

C#
public Brush SelectionFill { get; set; }
Property Value:

The selection fill.

Gets or sets the selection stroke.

C#
public Brush SelectionStroke { get; set; }
Property Value:

The selection stroke.

Gets or sets a value indicating whether line numbers are displayed in the margin of the syntax editor.

C#
public bool ShowLineNumbers { get; set; }

Gets the registry of taggers that provide syntax highlighting and other text analysis functionality for the editor.

C#
public TaggersRegistry TaggersRegistry { get; }

Gets the stack of text format definitions that control the visual appearance of text in the syntax editor.

C#
public TextFormatDefinitionStack TextFormatDefinitions { get; }

Gets or sets the builder component responsible for creating and managing the visual layers in the syntax editor.

C#
public UILayersBuilder UILayersBuilder { get; set; }

Gets or sets a value indicating whether to apply rendering optimizations for monospaced fonts in the syntax editor.

C#
public bool UseMonospacedFontOptimization { get; set; }

Gets or sets a value indicating whether the Shift key is required to extend text selection with arrow keys.

C#
public bool UseShiftKeyInSelection { get; set; }

Gets the vertical scroll bar element that controls scrolling through the document vertically.

C#
public RadScrollBarElement VerticalScrollBar { get; }

Gets the visible rectangular area of the document currently displayed in the editor.

C#
public Rect Viewport { get; }

Gets the drop-down list element that allows selecting different zoom levels for the editor content.

C#
public RadDropDownListElement ZoomComboBox { get; }

Methods

Applies any cached property values to the syntax editor element.

C#
protected virtual void ApplyCachedProperties(bool clearCache = true)
Parameters:clearCachebool

Determines whether the properties cache will be cleared after applying values.

Arranges the inner margins of the editor content area.

C#
protected virtual RectangleF ArrangeInnerMargins(RectangleF clientRect)
Parameters:clientRectRectangleF

The client rectangle available for the editor content.

Returns:

RectangleF

A rectangle that represents the area after applying inner margins.

Arranges the outer margins of the editor within the available client rectangle.

C#
protected virtual RectangleF ArrangeOuterMargins(RectangleF clientRect)
Parameters:clientRectRectangleF

The client rectangle available for the editor.

Returns:

RectangleF

A rectangle that represents the area after applying outer margins.

Arranges the syntax editor element and its children within the final allocated area.

C#
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters:finalSizeSizeF

The final area that the parent element allocates to the child element.

Returns:

SizeF

The actual size used by the element.

Overrides: RadElement.ArrangeOverride(SizeF)

Backspaces this instance.

C#
public void Backspace()

Begins the undo group.

C#
public void BeginUndoGroup()

Cancels the undo group.

C#
public void CancelUndoGroup()

Closes the find dialog.

C#
public void CloseFindDialog()

Completes the code.

C#
public void CompleteCode()

Copies the current selection to the clipboard. If no text is selected, copies the entire current line.

C#
public void Copy()

Creates a new syntax editor presenter that will display and manage the text content.

C#
protected virtual SyntaxEditorPresenter CrateSyntaxEditorPresenter()
Returns:

SyntaxEditorPresenter

A new instance of SyntaxEditorPresenter.

Creates the child elements that make up the structure of the editor.

C#
protected override void CreateChildElements()

Overrides: RadElement.CreateChildElements()

Creates the state of the code editor history.

C#
public SyntaxEditorHistoryState CreateSyntaxEditorHistoryState()
Returns:

SyntaxEditorHistoryState

SyntaxEditorHistoryState.

Creates the zoom drop-down element used for scaling the editor content.

C#
protected virtual RadDropDownListElement CreateZoomElement()
Returns:

RadDropDownListElement

A new RadDropDownListElement configured for zoom level selection.

Cuts this instance.

C#
public void Cut()

Decreases the line indent.

C#
public void DecreaseLineIndent()

Deletes this instance.

C#
public void Delete()

Deletes the full line.

C#
public void DeleteFullLine()

Deletes the word to left.

C#
public void DeleteWordToLeft()

Deletes the word to right.

C#
public void DeleteWordToRight()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Releases unmanaged and - optionally - managed resources.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

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

Ends the undo group.

C#
public void EndUndoGroup()

Finds the specified search text.

C#
public Span? Find(string searchText, int startIndex, bool matchCase, bool useRegularExpression)
Parameters:searchTextstringstartIndexintmatchCasebooluseRegularExpressionboolReturns:

Span?

Finds the specified search text.

C#
public Span? Find(string searchText, int startIndex, bool useRegularExpression)
Parameters:searchTextstring

The search text.

startIndexint

The start index.

useRegularExpressionbool

If set to true [use regular expression].

Returns:

Span?

System.Nullable<Span>.

Finds the specified search text.

C#
public Span? Find(string searchText, int startIndex)
Parameters:searchTextstring

The search text.

startIndexint

The start index.

Returns:

Span?

System.Nullable<Span>.

Finds all spans.

C#
public IEnumerable<Span> FindAll(string searchText, bool matchCase, bool useRegularExpression)
Parameters:searchTextstringmatchCasebooluseRegularExpressionboolReturns:

IEnumerable<Span>

Finds all spans.

C#
public IEnumerable<Span> FindAll(string searchText, bool useRegularExpression)
Parameters:searchTextstringuseRegularExpressionboolReturns:

IEnumerable<Span>

Finds all spans.

C#
public IEnumerable<Span> FindAll(string searchText)
Parameters:searchTextstring

The search text.

Returns:

IEnumerable<Span>

IEnumerable<Span>.

Finds the specified search text before the current index.

C#
public Span? FindPrevious(string searchText, int startIndex, bool matchCase)
Parameters:searchTextstringstartIndexintmatchCaseboolReturns:

Span?

Calculates the content rectangle based on the available space, accounting for scroll bars and other elements.

C#
protected virtual RectangleF GetContentRect(RectangleF availableRect)
Parameters:availableRectRectangleF

The rectangle representing the available space.

Returns:

RectangleF

A rectangle representing the area for the editor content.

Gets the bounding rectangle for a specific line in the document.

C#
public Rect GetLineBoundingRectangleByLineNumber(int lineNumber, bool cutToBaseline = false)
Parameters:lineNumberint

The zero-based line number.

cutToBaselinebool

If true, adjusts the rectangle to only include up to the text baseline.

Returns:

Rect

A rectangle representing the bounds of the specified line.

Gets the bounding rectangle for a specific portion of text within the document.

C#
public Rect GetLinePartBoundingRectangle(Span span, bool cutToBaseline = false)
Parameters:spanSpan

The span of text to get the bounds for.

cutToBaselinebool

If true, adjusts the rectangle to only include up to the text baseline.

Returns:

Rect

A rectangle representing the bounds of the specified text span.

Converts a document caret position to screen coordinates in the editor.

C#
public Point GetPointFromPosition(CaretPosition position)
Parameters:positionCaretPosition

The caret position in the document.

Returns:

Point

The point in screen coordinates corresponding to the caret position.

Converts a screen coordinate point to a document caret position.

C#
public CaretPosition GetPositionFromControlPoint(Point point)
Parameters:pointPoint

The point in screen coordinates relative to the control.

Returns:

CaretPosition

A caret position in the document corresponding to the specified point.

Gets the text between the specified start and end positions.

C#
public string GetText(CaretPosition start, CaretPosition end)
Parameters:startCaretPositionendCaretPositionReturns:

string

Gets the text within the current word which is to the left of the caret.

C#
public string GetWordToLeft()
Returns:

string

Gets the text within the current word which is to the right of the caret.

C#
public string GetWordToRight()
Returns:

string

Tries to highlight all span matches via all registered TextSearchHighlightTaggers.

C#
public void HighlightAllMatches(string searchText)
Parameters:searchTextstring

Increases the line indent.

C#
public void IncreaseLineIndent()

Indents this instance.

C#
public void Indent()

Initializes the default field values for the editor element.

C#
protected override void InitializeFields()

Overrides: FrameworkElement.InitializeFields()

Inserts the specified text.

C#
public void Insert(string text)
Parameters:textstring

The text.

Inserts the new line.

C#
public void InsertNewLine()

Inserts the tab.

C#
public void InsertTab()

Invalidates the layout of the editor, forcing a recalculation of text positions and visual elements.

C#
public void InvalidateEditorLayout()

Invalidates the layout of the editor, forcing a recalculation of text positions and visual elements.

C#
public void InvalidateEditorLayout(bool force)
Parameters:forcebool

When true, forces a complete layout recalculation regardless of any optimization conditions.

Measures the inner margins of the editor content area.

C#
protected virtual RectangleF MeasureInnerMargins(RectangleF clientRect)
Parameters:clientRectRectangleF

The client rectangle available for the editor content.

Returns:

RectangleF

A rectangle that represents the area after applying inner margins.

Measures the outer margins of the editor within the available client rectangle.

C#
protected virtual RectangleF MeasureOuterMargins(RectangleF clientRect)
Parameters:clientRectRectangleF

The client rectangle available for the editor.

Returns:

RectangleF

A rectangle that represents the area after applying outer margins.

Measures the desired size of the syntax editor element based on the available space.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The available size that the parent element can allocate to the child element.

Returns:

SizeF

The desired size of the element.

Overrides: FrameworkElement.MeasureOverride(SizeF)

Moves the current line to top.

C#
public void MoveCurrentLineToTop()

Navigates to the next matched text in the editor.

C#
public void NavigateNextMatch(string searchText)
Parameters:searchTextstring

Navigates to the next matched text in the editor.

C#
public void NavigatePreviousMatch(string searchText)
Parameters:searchTextstring

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

C#
public override void OnApplyTemplate()

Overrides: FrameworkElement.OnApplyTemplate()

Raises the CommandError event when a command execution results in an error.

C#
protected virtual void OnCommandError(CommandErrorEventArgs args)
Parameters:argsCommandErrorEventArgs

The CommandErrorEventArgs instance containing information about the error and the command that failed.

Raises the CommandExecuted event after a command has been successfully executed in the syntax editor.

C#
protected virtual void OnCommandExecuted(CommandExecutedEventArgs e)
Parameters:eCommandExecutedEventArgs

The CommandExecutedEventArgs instance containing information about the executed command.

Raises the CommandExecuting event before a command is executed, allowing subscribers to cancel or modify the command execution.

C#
protected virtual void OnCommandExecuting(CommandExecutingEventArgs args)
Parameters:argsCommandExecutingEventArgs

The CommandExecutingEventArgs instance containing information about the command to be executed and allowing cancellation.

Called when the document in the syntax editor has changed, raising the DocumentChanged event.

C#
protected virtual void OnDocumentChanged()

Called before the document in the syntax editor changes, raising the DocumentChanging event.

C#
protected virtual void OnDocumentChanging()

Handles the event.

C#
protected virtual void OnDocumentContentChanged(TextContentChangedEventArgs args)
Parameters:argsTextContentChangedEventArgs

The TextContentChangedEventArgs instance containing the event data.

Handles the event.

C#
protected virtual void OnDocumentContentChanging(TextContentChangingEventArgs args)
Parameters:argsTextContentChangingEventArgs

The TextContentChangingEventArgs instance containing the event data.

Called when the syntax editor element receives input focus, ensuring the caret becomes visible.

C#
protected override void OnGotFocus(EventArgs e)
Parameters:eEventArgs

The event arguments.

Overrides: UIElement.OnGotFocus(EventArgs)

Raises the IsReadOnlyChanged event when the read-only state of the syntax editor changes.

C#
protected virtual void OnIsReadOnlyChanged(EventArgs e)
Parameters:eEventArgs

The event arguments.

Raises the LayoutPropertiesChanged event when layout properties of the syntax editor have been modified.

C#
protected virtual void OnLayoutPropertiesChanged()

Called when the element has been successfully loaded. That includes loading of all its children as well.

C#
protected override void OnLoaded()

Overrides: RadElement.OnLoaded()

Called when mouse wheel zoom is requested. Handles changing the scale factor of the editor content based on mouse wheel movement.

C#
protected virtual bool OnMouseWheelZoom(double delta)
Parameters:deltadouble

The mouse wheel delta. Positive values zoom in, negative values zoom out.

Returns:

bool

True if the zoom operation was successful; otherwise, false.

Raises the PreviewSyntaxEditorInput event when text input is detected in the syntax editor, allowing for processing or cancellation of the input.

C#
protected virtual void OnPreviewSyntaxEditorInput(PreviewSyntaxEditorInputEventArgs args)
Parameters:argsPreviewSyntaxEditorInputEventArgs

The PreviewSyntaxEditorInputEventArgs instance containing the event data and providing options to handle or cancel the input.

Handles the event.

C#
protected virtual void OnPreviewSyntaxEditorKeyDown(PreviewSyntaxEditorKeyEventArgs args)
Parameters:argsPreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Raises the PreviewSyntaxEditorKeyUp event when a key up action is detected in the syntax editor.

C#
protected virtual void OnPreviewSyntaxEditorKeyUp(PreviewSyntaxEditorKeyEventArgs args)
Parameters:argsPreviewSyntaxEditorKeyEventArgs

The event arguments containing information about the key action.

Raises the PreviewSyntaxEditorMouseLeftButtonDown event when a mouse left button down action is detected.

C#
protected virtual void OnPreviewSyntaxEditorMouseLeftButtonDown(PreviewSyntaxEditorMouseButtonEventArgs args)
Parameters:argsPreviewSyntaxEditorMouseButtonEventArgs

The event arguments containing information about the mouse action.

Raises the PreviewSyntaxEditorMouseRightButtonDown event when a mouse right button down action is detected.

C#
protected virtual void OnPreviewSyntaxEditorMouseRightButtonDown(PreviewSyntaxEditorMouseButtonEventArgs args)
Parameters:argsPreviewSyntaxEditorMouseButtonEventArgs

The event arguments containing information about the mouse action.

Called when a property value changes, allowing for handling specific property changes in the syntax editor.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

Event arguments containing information about the property that changed.

Overrides: UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Called when the zoom level of the editor changes, raising the ScaleFactorChanged event and updating the layout.

C#
protected virtual void OnScaleFactorChanged()

Ensures that the scale factor value is within the valid range between minimum and maximum scale factors.

C#
protected virtual double OnScaleFactorPropertyCoerced(double baseValue)
Parameters:baseValuedouble

The proposed scale factor value to be validated.

Returns:

double

A scale factor value that is within the allowed range.

Raises the SelectionChanged event when the text selection in the syntax editor changes.

C#
protected virtual void OnSelectionChanged()

Raises the ViewportChanged event when the visible area of the syntax editor changes due to scrolling or resizing.

C#
protected virtual void OnViewportChanged()

Opens the find dialog with the specified searchText in the search textbox.

C#
public void OpenFindDialog(string searchText)
Parameters:searchTextstring

The search text.

Pages down.

C#
public void PageDown()

Pages up.

C#
public void PageUp()

Pastes this instance.

C#
public void Paste()

Populates the zoom drop-down element with the default scale factors (20% to 400%).

C#
protected virtual void PopulateZoomElement()

Redoes this instance.

C#
public bool Redo()
Returns:

bool

System.Boolean.

Replaces all matches.

C#
public int ReplaceAllMatches(string searchText, string replaceText, bool matchCase, bool useRegularExpression)
Parameters:searchTextstring

The search text.

replaceTextstring

The replace text.

matchCasebool

The match case.

useRegularExpressionbool

The use regular expression.

Returns:

int

System.Int32.

Replaces the next match.

C#
public bool ReplaceNextMatch(string searchText, int startIndex, string replaceText, bool matchCase, bool useRegularExpression)
Parameters:searchTextstring

The search text.

startIndexint

The start index.

replaceTextstring

The replace text.

matchCasebool

The match case.

useRegularExpressionbool

The use regular expression.

Returns:

bool

System.Boolean.

Restores the state of the code editor history.

C#
public void RestoreSyntaxEditorHistoryState(SyntaxEditorHistoryState historyState)
Parameters:historyStateSyntaxEditorHistoryState

State of the history.

Selects all text content in the document.

C#
public void SelectAll()

Determines whether a child element should be arranged during the layout process.

C#
protected override bool ShouldArrangeChild(RadElement child)
Parameters:childRadElement

The child element to check.

Returns:

bool

True if the child should be arranged; otherwise, false.

Overrides: RadElement.ShouldArrangeChild(RadElement)

Determines whether a child element should be measured during the layout process.

C#
protected override bool ShouldMeasureChild(RadElement child)
Parameters:childRadElement

The child element to check.

Returns:

bool

True if the child should be measured; otherwise, false.

Overrides: RadElement.ShouldMeasureChild(RadElement)

Toggles the insert mode.

C#
public void ToggleInsertMode()

Undoes this instance.

C#
public bool Undo()
Returns:

bool

Unindents this instance.

C#
public void Unindent()

Updates the visual representation of the current text selection in the editor.

C#
public void UpdateSelection()

Increases the zoom level of the editor content.

C#
public void ZoomIn(double zoomFactor = 1.1)
Parameters:zoomFactordouble

The zoom increase factor. Should be a number greater than 1. Default value is 1.1.

Decreases the zoom level of the editor content.

C#
public void ZoomOut(double zoomFactor = 0.91)
Parameters:zoomFactordouble

The zoom decrease factor. Should be a number less than 1. Default value is 0.91.

Sets the zoom level of the editor content to a specific scale factor.

C#
public void ZoomTo(double zoomLevel)
Parameters:zoomLeveldouble

The scale factor to set (1.0 is normal size, 2.0 is double size, etc.). The minimum supported zoom level is 0.2 and the maximum supported is 4.

Exceptions:

ArgumentOutOfRangeException

Thrown when zoomLevel is negative.

Events

Occurs when a command execution in the syntax editor results in an error, providing details about the error and the command that failed.

C#
public event EventHandler<CommandErrorEventArgs> CommandError

Occurs after a command has been successfully executed in the syntax editor, providing information about the executed command.

C#
public event EventHandler<CommandExecutedEventArgs> CommandExecuted

Occurs before a command is executed, allowing you to cancel or modify the command execution.

C#
public event EventHandler<CommandExecutingEventArgs> CommandExecuting

Occurs after the document in the syntax editor has been changed, such as when a new document is loaded or created.

C#
public event EventHandler DocumentChanged

Implements: ITextDocumentEditor.DocumentChanged

Occurs before the document in the syntax editor is changed, allowing you to perform actions before a new document is loaded or created.

C#
public event EventHandler DocumentChanging

Implements: ITextDocumentEditor.DocumentChanging

Occurs when document content has been changed.

C#
public event EventHandler<TextContentChangedEventArgs> DocumentContentChanged

Implements: ITextDocumentEditor.DocumentContentChanged

Occurs when document content is being changed.

C#
public event EventHandler<TextContentChangingEventArgs> DocumentContentChanging

Occurs when the read-only state of the syntax editor changes, indicating whether editing operations are allowed or restricted.

C#
public event EventHandler IsReadOnlyChanged

Occurs when the layout properties of the editor change, affecting how text is displayed.

C#
public event EventHandler LayoutPropertiesChanged

Occurs before text input is processed by the syntax editor, allowing you to intercept and modify the input.

C#
public event EventHandler<PreviewSyntaxEditorInputEventArgs> PreviewSyntaxEditorInput

Occurs before a key down event is processed by the syntax editor, allowing you to intercept and handle keyboard input.

C#
public event EventHandler<PreviewSyntaxEditorKeyEventArgs> PreviewSyntaxEditorKeyDown

Occurs before a key up event is processed by the syntax editor, allowing you to intercept and handle keyboard input.

C#
public event EventHandler<PreviewSyntaxEditorKeyEventArgs> PreviewSyntaxEditorKeyUp

Occurs before a mouse left button down event is processed by the syntax editor, allowing you to intercept and handle mouse input.

C#
public event EventHandler<PreviewSyntaxEditorMouseButtonEventArgs> PreviewSyntaxEditorMouseLeftButtonDown

Occurs before a mouse right button down event is processed by the syntax editor, allowing you to intercept and handle context menu or other right-click actions.

C#
public event EventHandler<PreviewSyntaxEditorMouseButtonEventArgs> PreviewSyntaxEditorMouseRightButtonDown

Occurs when the scale factor (zoom level) of the syntax editor changes, affecting the display size of text and UI elements.

C#
public event EventHandler ScaleFactorChanged

Occurs when the text selection within the editor changes, either by user interaction or programmatically.

C#
public event EventHandler SelectionChanged

Occurs when the visible portion (viewport) of the editor content changes due to scrolling or resizing.

C#
public event EventHandler ViewportChanged
In this article
DefinitionConstructorsRadSyntaxEditorElement()FieldsAcceptsReturnPropertyAllowScalingPropertyBorderColorPropertyCaretBrushPropertyDEFAULT_NAMESPACEEditorFontFamilyPropertyEditorFontSizePropertyEditorFontStretchPropertyEditorFontStylePropertyEditorFontWeightPropertyHorizontalScrollBarVisibilityPropertyIndentProviderPropertyInsertModePropertyIsCaretVisiblePropertyIsReadOnlyPropertyIsSelectionEnabledPropertyIsWordWrapEnabledPropertyPalettePropertyScaleFactorPropertySelectionFillColorPropertySelectionFillPropertySelectionStrokeColorPropertySelectionStrokePropertyShouldTaggersProcessEntireLinesPropertyShowLineNumbersPropertyVerticalScrollBarVisibilityPropertyPropertiesAcceptsReturnAllowScalingBorderColorCaretBrushCaretColorCaretDisplayModeCaretPositionCaretWidthCommandsCurrentInsertModeDocumentEditorFontFamilyEditorFontSizeEditorPresenterFoldingManagerHorizontalScrollBarIndentProviderInputHandlerIntelliPromptsIsCaretVisibleIsInUndoGroupIsOverwriteModeEnabledIsReadOnlyIsSelectionEnabledIsWordWrapEnabledMarginsPalettePropertiesScaleFactorSearchPanelSelectionSelectionFillSelectionStrokeShowLineNumbersTaggersRegistryTextFormatDefinitionsUILayersBuilderUseMonospacedFontOptimizationUseShiftKeyInSelectionVerticalScrollBarViewportZoomComboBoxMethodsApplyCachedProperties(bool)ArrangeInnerMargins(RectangleF)ArrangeOuterMargins(RectangleF)ArrangeOverride(SizeF)Backspace()BeginUndoGroup()CancelUndoGroup()CloseFindDialog()CompleteCode()Copy()CrateSyntaxEditorPresenter()CreateChildElements()CreateSyntaxEditorHistoryState()CreateZoomElement()Cut()DecreaseLineIndent()Delete()DeleteFullLine()DeleteWordToLeft()DeleteWordToRight()Dispose()Dispose(bool)EndUndoGroup()Find(string, int, bool, bool)Find(string, int, bool)Find(string, int)FindAll(string, bool, bool)FindAll(string, bool)FindAll(string)FindPrevious(string, int, bool)GetContentRect(RectangleF)GetLineBoundingRectangleByLineNumber(int, bool)GetLinePartBoundingRectangle(Span, bool)GetPointFromPosition(CaretPosition)GetPositionFromControlPoint(Point)GetText(CaretPosition, CaretPosition)GetWordToLeft()GetWordToRight()HighlightAllMatches(string)IncreaseLineIndent()Indent()InitializeFields()Insert(string)InsertNewLine()InsertTab()InvalidateEditorLayout()InvalidateEditorLayout(bool)MeasureInnerMargins(RectangleF)MeasureOuterMargins(RectangleF)MeasureOverride(SizeF)MoveCurrentLineToTop()NavigateNextMatch(string)NavigatePreviousMatch(string)OnApplyTemplate()OnCommandError(CommandErrorEventArgs)OnCommandExecuted(CommandExecutedEventArgs)OnCommandExecuting(CommandExecutingEventArgs)OnDocumentChanged()OnDocumentChanging()OnDocumentContentChanged(TextContentChangedEventArgs)OnDocumentContentChanging(TextContentChangingEventArgs)OnGotFocus(EventArgs)OnIsReadOnlyChanged(EventArgs)OnLayoutPropertiesChanged()OnLoaded()OnMouseWheelZoom(double)OnPreviewSyntaxEditorInput(PreviewSyntaxEditorInputEventArgs)OnPreviewSyntaxEditorKeyDown(PreviewSyntaxEditorKeyEventArgs)OnPreviewSyntaxEditorKeyUp(PreviewSyntaxEditorKeyEventArgs)OnPreviewSyntaxEditorMouseLeftButtonDown(PreviewSyntaxEditorMouseButtonEventArgs)OnPreviewSyntaxEditorMouseRightButtonDown(PreviewSyntaxEditorMouseButtonEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)OnScaleFactorChanged()OnScaleFactorPropertyCoerced(double)OnSelectionChanged()OnViewportChanged()OpenFindDialog(string)PageDown()PageUp()Paste()PopulateZoomElement()Redo()ReplaceAllMatches(string, string, bool, bool)ReplaceNextMatch(string, int, string, bool, bool)RestoreSyntaxEditorHistoryState(SyntaxEditorHistoryState)SelectAll()ShouldArrangeChild(RadElement)ShouldMeasureChild(RadElement)ToggleInsertMode()Undo()Unindent()UpdateSelection()ZoomIn(double)ZoomOut(double)ZoomTo(double)EventsCommandErrorCommandExecutedCommandExecutingDocumentChangedDocumentChangingDocumentContentChangedDocumentContentChangingIsReadOnlyChangedLayoutPropertiesChangedPreviewSyntaxEditorInputPreviewSyntaxEditorKeyDownPreviewSyntaxEditorKeyUpPreviewSyntaxEditorMouseLeftButtonDownPreviewSyntaxEditorMouseRightButtonDownScaleFactorChangedSelectionChangedViewportChanged
Not finding the help you need?
Contact Support