Class DrawingCanvas
public abstract class DrawingCanvas : Canvas, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDraw
- Inheritance
-
DrawingCanvas
- Implements
- Derived
- Inherited Members
- Extension Methods
Fields
UseVisualProperty
public static readonly DependencyProperty UseVisualProperty
Field Value
Properties
UseVisual
public bool UseVisual { get; set; }
Property Value
VisualChildrenCount
protected override int VisualChildrenCount { get; }
Property Value
Methods
AddVisual(Visual)
public void AddVisual(Visual visual)
Parameters
visual
Visual
Clear()
public virtual void Clear()
Draw(Canvas)
public virtual void Draw(Canvas canvas)
Parameters
canvas
Canvas
GetVisual(Point)
public DrawingVisual GetVisual(Point point)
Parameters
point
Point
Returns
GetVisualChild(int)
protected override Visual GetVisualChild(int index)
Parameters
Returns
Polyline(PointCollection, Brush, double)
public Visual Polyline(PointCollection points, Brush brush, double thinkness)
Parameters
points
PointCollectionbrush
Brushthinkness
double
Returns
Refresh()
public virtual void Refresh()