TextViewDrawContext Class
Provides access for drawing the content of an ITextView.
public class TextViewDrawContext : CanvasDrawContext, IDisposable
- Inheritance:
- object DisposableObjectBase CanvasDrawContext object
- Implements:
- IDisposable
Properties
CollapsibleRegionBackground
A cached Brush.
CollapsibleRegionForeground
A cached Brush.
ColumnGuidesBackground
A cached Brush.
CurrentLineBackground
A cached Brush.
CurrentLineBorderPen
A cached Pen.
DelimiterMatchingBackground
A cached Brush.
InactiveSelectedTextBackground
A cached Brush.
IndentationGuidesBackground
A cached Brush.
IndicatorMarginBackground
A cached Brush.
LineNumberMarginBackground
A cached Brush.
LineNumberMarginCurrentLineBackground
A cached Brush.
LineNumberMarginCurrentLineForeground
A cached Brush.
LineNumberMarginForeground
A cached Brush.
OutliningMarginBackground
A cached Brush.
OutliningMarginSquareBackground
A cached Brush.
PlainTextBackground
A cached Brush.
RulerMarginBackground
A cached Brush.
RulerMarginForeground
A cached Brush.
SelectedTextBackground
A cached Brush.
SelectionMarginBackground
A cached Brush.
TextAreaBounds
The bounds of the view's text area, accounting for zoom level and borders.
public Rect? TextAreaBounds { get; }
Property Value
- Rect
View
The text view being rendered.
VisibleWhitespaceForeground
A cached Brush.
WordWrapGlyphMarginBackground
A cached Brush.
WordWrapGlyphMarginForeground
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(Rect, Color, LineKind, float)
- CanvasDrawContext.DrawEllipse(Rect, Pen)
- CanvasDrawContext.DrawGeometry(Point, Geometry, Color, LineKind, float)
- CanvasDrawContext.DrawGeometry(Point, Geometry, Pen)
- CanvasDrawContext.DrawImage(Point, ImageSource)
- CanvasDrawContext.DrawLine(Point, Point, Color, LineKind, float)
- CanvasDrawContext.DrawLine(Point, Point, Pen)
- CanvasDrawContext.DrawRectangle(Rect, Color, LineKind, float)
- CanvasDrawContext.DrawRectangle(Rect, Pen)
- CanvasDrawContext.DrawRoundedRectangle(Rect, float, Color, LineKind, float)
- CanvasDrawContext.DrawRoundedRectangle(Rect, float, Pen)
- CanvasDrawContext.DrawSquiggleLine(Rect, Color)
- CanvasDrawContext.DrawText(Point, ITextLayoutLine)
- CanvasDrawContext.FillEllipse(Rect, Color)
- CanvasDrawContext.FillEllipse(Rect, Brush)
- CanvasDrawContext.FillGeometry(Point, Geometry, Color)
- CanvasDrawContext.FillGeometry(Point, Geometry, Brush)
- CanvasDrawContext.FillRectangle(Rect, Color)
- CanvasDrawContext.FillRectangle(Rect, Brush)
- CanvasDrawContext.FillRoundedRectangle(Rect, float, Color)
- CanvasDrawContext.FillRoundedRectangle(Rect, float, Brush)
- CanvasDrawContext.PopBounds()
- CanvasDrawContext.PopClip()
- CanvasDrawContext.PopScaleTransform()
- CanvasDrawContext.PushBounds(Rect)
- CanvasDrawContext.PushClip(Rect)
- CanvasDrawContext.PushScaleTransform(double)
- CanvasDrawContext.Bounds
- CanvasDrawContext.Canvas
- CanvasDrawContext.ClipBounds
- CanvasDrawContext.PlatformRenderer
- CanvasDrawContext.Scale
- DisposableObjectBase.Dispose()
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()