TextViewDrawContext Class
Provides access for drawing the content of an ITextView.
public class TextViewDrawContext : CanvasDrawContext, IDisposable
- Inheritance:
- object MarshalByRefObject DisposableObject CanvasDrawContext object
- Implements:
- IDisposable
Properties
CollapsibleRegionBackground
Gets a cached Brush.
CollapsibleRegionForeground
Gets a cached Brush.
ColumnGuidesBackground
Gets a cached Brush.
CurrentLineBackground
Gets a cached Brush.
CurrentLineBorderPen
Gets a cached Pen.
DelimiterMatchingBackground
Gets a cached Brush.
InactiveSelectedTextBackground
Gets a cached Brush.
IndentationGuidesBackground
Gets a cached Brush.
IndicatorMarginBackground
Gets a cached Brush.
LineNumberMarginBackground
Gets a cached Brush.
LineNumberMarginCurrentLineBackground
Gets a cached Brush.
LineNumberMarginCurrentLineForeground
Gets a cached Brush.
LineNumberMarginForeground
Gets a cached Brush.
OutliningMarginBackground
Gets a cached Brush.
OutliningMarginSquareBackground
Gets a cached Brush.
PlainTextBackground
Gets a cached Brush.
RulerMarginBackground
Gets a cached Brush.
RulerMarginForeground
Gets a cached Brush.
SelectedTextBackground
Gets a cached Brush.
SelectionMarginBackground
Gets a cached Brush.
TextAreaBounds
Gets or sets the bounds of the view's text area, accounting for zoom level and borders.
public Rectangle TextAreaBounds { get; }
Property Value
- Rectangle:
The bounds of the view's text area, accounting for zoom level and borders.
View
Gets the text view being rendered.
VisibleWhitespaceForeground
Gets a cached Brush.
WordWrapGlyphMarginBackground
Gets a cached Brush.
WordWrapGlyphMarginForeground
Gets a cached Brush.
Methods
Dispose(bool)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
protected override void Dispose(bool disposing)
Parameter | Type | Description |
---|---|---|
disposing | bool |
|
Remarks
This method is called by the public Dispose
method and the Finalize
method.
Dispose
invokes this method with the disposing
parameter set to true
.
Finalize
invokes this method with disposing
set to false
.
Inherited Members
- CanvasDrawContext.DrawEllipse(Rectangle, Color, LineKind, float)
- CanvasDrawContext.DrawEllipse(Rectangle, Pen)
- CanvasDrawContext.DrawGeometry(Point, GraphicsPath, Color, LineKind, float)
- CanvasDrawContext.DrawGeometry(Point, GraphicsPath, Pen)
- CanvasDrawContext.DrawImage(Point, Image)
- CanvasDrawContext.DrawLine(Point, Point, Color, LineKind, float)
- CanvasDrawContext.DrawLine(Point, Point, Pen)
- CanvasDrawContext.DrawRectangle(Rectangle, Color, LineKind, float)
- CanvasDrawContext.DrawRectangle(Rectangle, Pen)
- CanvasDrawContext.DrawRoundedRectangle(Rectangle, float, Color, LineKind, float)
- CanvasDrawContext.DrawRoundedRectangle(Rectangle, float, Pen)
- CanvasDrawContext.DrawSquiggleLine(Rectangle, Color)
- CanvasDrawContext.DrawText(Point, ITextLayoutLine)
- CanvasDrawContext.FillEllipse(Rectangle, Color)
- CanvasDrawContext.FillEllipse(Rectangle, Brush)
- CanvasDrawContext.FillGeometry(Point, GraphicsPath, Color)
- CanvasDrawContext.FillGeometry(Point, GraphicsPath, Brush)
- CanvasDrawContext.FillRectangle(Rectangle, Color)
- CanvasDrawContext.FillRectangle(Rectangle, Brush)
- CanvasDrawContext.FillRoundedRectangle(Rectangle, float, Color)
- CanvasDrawContext.FillRoundedRectangle(Rectangle, float, Brush)
- CanvasDrawContext.PopBounds()
- CanvasDrawContext.PopClip()
- CanvasDrawContext.PushBounds(Rectangle)
- CanvasDrawContext.PushClip(Rectangle)
- CanvasDrawContext.Bounds
- CanvasDrawContext.Canvas
- CanvasDrawContext.ClipBounds
- CanvasDrawContext.DpiScale
- CanvasDrawContext.PlatformRenderer
- CanvasDrawContext.Scale
- CanvasDrawContext.IsNativeRendering
- DisposableObject.Dispose()
- DisposableObject.VerifyNotDisposed()
- DisposableObject.IsDisposed
- DisposableObject.Disposed
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()