ClassBackgroundGridBase
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:
cs-api-definition
public abstract class BackgroundGridBase : Control
Inheritance: objectBackgroundGridBase
Derived Classes:
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).
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
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