ClassBackgroundGrid
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
BackgroundGrid()
Declaration
public BackgroundGrid()
Fields
CellSizeProperty
Identifies the CellSize attached property.
Declaration
public static readonly RadProperty CellSizeProperty
Field Value
IsDynamicProperty
Identifies the IsDynamic attached property.
Declaration
public static readonly RadProperty IsDynamicProperty
Field Value
IsGridVisibleProperty
Identifies the IsGridVisible attached property.
Declaration
public static readonly RadProperty IsGridVisibleProperty
Field Value
LineStrokeDashArrayProperty
Identifies the LineStrokeDashArray attached property.
Declaration
public static readonly RadProperty LineStrokeDashArrayProperty
Field Value
LineStrokeProperty
Identifies the LineStroke attached property.
Declaration
public static readonly RadProperty LineStrokeProperty
Field Value
LineStrokeThicknessProperty
Identifies the LineStrokeThickness attached property.
Declaration
public static readonly RadProperty LineStrokeThicknessProperty
Field Value
Properties
CellSize
Gets the cell size.
Declaration
public override Size CellSize { get; set; }
Property Value
Overrides
IsDynamic
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
Declaration
protected override bool IsDynamic { get; }
Property Value
Overrides
LineStroke
Gets the cell size.
Declaration
public override Brush LineStroke { get; set; }
Property Value
Overrides
LineStrokeDashArray
Gets the cell size.
Declaration
public override DoubleCollection LineStrokeDashArray { get; set; }
Property Value
Overrides
LineStrokeThickness
Gets the cell size.
Declaration
public override double LineStrokeThickness { get; set; }
Property Value
Overrides
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetCellSize(RadObject)
Gets the cell size.
GetIsDynamic(RadObject)
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
GetIsGridVisible(RadObject)
Gets the grid visibility.
GetLineStroke(RadObject)
Gets the line stroke.
GetLineStrokeDashArray(RadObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Parameters
obj
Returns
GetLineStrokeThickness(RadObject)
Gets the line stroke thickness.
SetCellSize(RadObject, Size)
Sets the cell size.
SetIsDynamic(RadObject, bool)
Sets value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
SetIsGridVisible(RadObject, bool)
Sets the grid visibility.
SetLineStroke(RadObject, Brush)
Sets the line stroke.
SetLineStrokeDashArray(RadObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)
Parameters
obj
value
SetLineStrokeThickness(RadObject, double)
Sets the line stroke thickness.