Class BackgroundGrid
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 class BackgroundGrid : BackgroundGridBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
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
System.
|
Overrides
LineStroke
Gets the cell size.
Declaration
public override Brush LineStroke { get; set; }
Property Value
System.
|
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
System.
|
Overrides
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
GetCellSize(RadObject)
Gets the cell size.
Declaration
public static Size GetCellSize(RadObject obj)
Parameters
Rad
|
Returns
GetIsDynamic(RadObject)
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
Declaration
public static bool GetIsDynamic(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetIsGridVisible(RadObject)
Gets the grid visibility.
Declaration
public static bool GetIsGridVisible(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetLineStroke(RadObject)
Gets the line stroke.
Declaration
public static Brush GetLineStroke(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetLineStrokeDashArray(RadObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Parameters
Rad
|
Returns
GetLineStrokeThickness(RadObject)
Gets the line stroke thickness.
Declaration
public static double GetLineStrokeThickness(RadObject obj)
Parameters
Rad
|
Returns
System.
|
SetCellSize(RadObject, Size)
Sets the cell size.
Declaration
public static void SetCellSize(RadObject obj, Size value)
Parameters
SetIsDynamic(RadObject, Boolean)
Sets value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
Declaration
public static void SetIsDynamic(RadObject obj, bool value)
Parameters
Rad
|
System.
|
SetIsGridVisible(RadObject, Boolean)
Sets the grid visibility.
Declaration
public static void SetIsGridVisible(RadObject obj, bool value)
Parameters
Rad
|
System.
|
SetLineStroke(RadObject, Brush)
Sets the line stroke.
Declaration
public static void SetLineStroke(RadObject obj, Brush value)
Parameters
Rad
|
System.
|
SetLineStrokeDashArray(RadObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)
Parameters
Rad
|
Double
|
SetLineStrokeThickness(RadObject, Double)
Sets the line stroke thickness.
Declaration
public static void SetLineStrokeThickness(RadObject obj, double value)
Parameters
Rad
|
System.
|