Class BackgroundGridBase
Represents a visual grid of lines usually used as background surface.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams.Primitives
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public abstract class BackgroundGridBase : Canvas, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Constructors
BackgroundGridBase()
Declaration
protected BackgroundGridBase()
Properties
CellSize
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
public abstract Brush LineStroke { get; set; }
Property Value
System.Drawing.Brush
|
LineStrokeDashArray
Gets line stroke dash array.
Declaration
public abstract DoubleCollection LineStrokeDashArray { get; set; }
Property Value
DoubleCollection
|
LineStrokeThickness
Gets line stroke thickness.
Declaration
public abstract double LineStrokeThickness { get; set; }
Property Value
System.Double
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
OnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the property. |
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
Refresh(Boolean)
Redraws the lines.
Declaration
protected void Refresh(bool forceRefresh = false)
Parameters
System.Boolean
forceRefresh
|