BackgroundGrid
Represents a visual grid of lines usually used as background surface.
Definition
Namespace:Telerik.WinControls.UI.Diagrams.Primitives
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class BackgroundGrid : BackgroundGridBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementPanelCanvasBackgroundGridBaseBackgroundGrid...
Implements:
Inherited Members
Constructors
public BackgroundGrid()
Fields
Identifies the CellSize attached property.
public static readonly RadProperty CellSizeProperty
Identifies the IsDynamic attached property.
public static readonly RadProperty IsDynamicProperty
Identifies the IsGridVisible attached property.
public static readonly RadProperty IsGridVisibleProperty
Identifies the LineStrokeDashArray attached property.
public static readonly RadProperty LineStrokeDashArrayProperty
Identifies the LineStroke attached property.
public static readonly RadProperty LineStrokeProperty
Identifies the LineStrokeThickness attached property.
public static readonly RadProperty LineStrokeThicknessProperty
Properties
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
protected override bool IsDynamic { get; }
Overrides:
Gets the cell size.
public override Brush LineStroke { get; set; }
Overrides:
Gets the cell size.
public override DoubleCollection LineStrokeDashArray { get; set; }
Overrides:
Gets the cell size.
public override double LineStrokeThickness { get; set; }
Overrides:
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Gets the line stroke dash array.
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Sets the line stroke dash array.
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)