Class
BackgroundGridBase

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:

cs-api-definition
public abstract class BackgroundGridBase : Control

Inheritance: objectBackgroundGridBase

Derived Classes: BackgroundGridBackgroundPageGrid

Constructors

BackgroundGridBase()

Declaration

cs-api-definition
protected BackgroundGridBase()

Properties

CellSize

Gets the cell size.

Declaration

cs-api-definition
protected abstract Size CellSize { get; }

Property Value

Size

IsDynamic

Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).

Declaration

cs-api-definition
protected abstract bool IsDynamic { get; }

Property Value

bool

LineStroke

Gets line stroke.

Declaration

cs-api-definition
protected abstract Brush LineStroke { get; }

Property Value

Brush

LineStrokeDashArray

Gets line stroke dash array.

Declaration

cs-api-definition
protected abstract DoubleCollection LineStrokeDashArray { get; }

Property Value

DoubleCollection

LineStrokeThickness

Gets line stroke thickness.

Declaration

cs-api-definition
protected abstract double LineStrokeThickness { get; }

Property Value

double

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

Refresh(bool)

Redraws the lines.

Declaration

cs-api-definition
protected void Refresh(bool forceRefresh = false)

Parameters

forceRefresh

bool