TextViewDrawContext Class
Provides access for drawing the content of an ITextView.
public class TextViewDrawContext : CanvasDrawContext, IDisposable
- Inheritance:
- System.Object DisposableObjectBase CanvasDrawContext Object
- Implements:
- System.IDisposable
Properties
CollapsibleRegionBackground
Gets a cached System.Windows.Media.Brush.
public Brush CollapsibleRegionBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
CollapsibleRegionForeground
Gets a cached System.Windows.Media.Brush.
public Brush CollapsibleRegionForeground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
ColumnGuidesBackground
Gets a cached System.Windows.Media.Brush.
public Brush ColumnGuidesBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
CurrentLineBackground
Gets a cached System.Windows.Media.Brush.
public Brush CurrentLineBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
CurrentLineBorderPen
Gets a cached System.Windows.Media.Pen.
public Pen CurrentLineBorderPen { get; }
Property Value
- System.Windows.Media.Pen:
A cached System.Windows.Media.Pen.
DelimiterMatchingBackground
Gets a cached System.Windows.Media.Brush.
public Brush DelimiterMatchingBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
InactiveSelectedTextBackground
Gets a cached System.Windows.Media.Brush.
public Brush InactiveSelectedTextBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
IndentationGuidesBackground
Gets a cached System.Windows.Media.Brush.
public Brush IndentationGuidesBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
IndicatorMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush IndicatorMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
LineNumberMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush LineNumberMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
LineNumberMarginForeground
Gets a cached System.Windows.Media.Brush.
public Brush LineNumberMarginForeground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
OutliningMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush OutliningMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
OutliningMarginSquareBackground
Gets a cached System.Windows.Media.Brush.
public Brush OutliningMarginSquareBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
PlainTextBackground
Gets a cached System.Windows.Media.Brush.
public Brush PlainTextBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
RulerMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush RulerMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
RulerMarginForeground
Gets a cached System.Windows.Media.Brush.
public Brush RulerMarginForeground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
SelectedTextBackground
Gets a cached System.Windows.Media.Brush.
public Brush SelectedTextBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
SelectionMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush SelectionMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
TextAreaBounds
Gets or sets the bounds of the view's text area, accounting for zoom level and borders.
public Rect TextAreaBounds { get; }
Property Value
- System.Windows.Rect:
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 System.Windows.Media.Brush.
public Brush VisibleWhitespaceForeground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
WordWrapGlyphMarginBackground
Gets a cached System.Windows.Media.Brush.
public Brush WordWrapGlyphMarginBackground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
WordWrapGlyphMarginForeground
Gets a cached System.Windows.Media.Brush.
public Brush WordWrapGlyphMarginForeground { get; }
Property Value
- System.Windows.Media.Brush:
A cached System.Windows.Media.Brush.
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
protected override void Dispose(bool disposing)
| Parameter | Type | Description |
|---|---|---|
| disposing | System.Boolean |
|
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, Single)
- CanvasDrawContext.DrawEllipse(Rect, Pen)
- CanvasDrawContext.DrawGeometry(Point, Geometry, Color, LineKind, Single)
- CanvasDrawContext.DrawGeometry(Point, Geometry, Pen)
- CanvasDrawContext.DrawImage(Point, ImageSource)
- CanvasDrawContext.DrawLine(Point, Point, Color, LineKind, Single)
- CanvasDrawContext.DrawLine(Point, Point, Pen)
- CanvasDrawContext.DrawRectangle(Rect, Color, LineKind, Single)
- CanvasDrawContext.DrawRectangle(Rect, Pen)
- CanvasDrawContext.DrawRoundedRectangle(Rect, Single, Color, LineKind, Single)
- CanvasDrawContext.DrawRoundedRectangle(Rect, Single, 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, Single, Color)
- CanvasDrawContext.FillRoundedRectangle(Rect, Single, 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()
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()