BackgroundGridBase
Class
Represents a visual grid of lines usually used as background surface.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Primitives
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
C#
public abstract class BackgroundGridBase : Control
Inheritance: objectBackgroundGridBase
Derived Classes:
Constructors
C#
protected BackgroundGridBase()
Properties
CellSize
Size
Gets the cell size.
C#
protected abstract Size CellSize { get; }
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
C#
protected abstract bool IsDynamic { get; }
LineStroke
Brush
Gets line stroke.
C#
protected abstract Brush LineStroke { get; }
LineStrokeDashArray
DoubleCollection
Gets line stroke dash array.
C#
protected abstract DoubleCollection LineStrokeDashArray { get; }
Gets line stroke thickness.
C#
protected abstract double LineStrokeThickness { get; }
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call .
C#
public override void OnApplyTemplate()
Redraws the lines.