New to Telerik UI for WPFStart a free 30-day trial

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: BackgroundGridBackgroundPageGrid

Constructors

C#
protected BackgroundGridBase()

Properties

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; }

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.

C#
protected void Refresh(bool forceRefresh = false)
Parameters:forceRefreshbool