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