ClassBackgroundGrid
Represents a visual grid of lines usually used as background surface.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Primitives
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public class BackgroundGrid : BackgroundGridBase
Inheritance: objectBackgroundGridBaseBackgroundGrid
Inherited Members
Constructors
BackgroundGrid()
Declaration
public BackgroundGrid()
Fields
CellSizeProperty
Identifies the CellSize attached property.
Declaration
public static readonly DependencyProperty CellSizeProperty
Field Value
DependencyProperty
IsDynamicProperty
Identifies the IsDynamic attached property.
Declaration
public static readonly DependencyProperty IsDynamicProperty
Field Value
DependencyProperty
IsGridVisibleProperty
Identifies the IsGridVisible attached property.
Declaration
public static readonly DependencyProperty IsGridVisibleProperty
Field Value
DependencyProperty
LineStrokeDashArrayProperty
Identifies the LineStrokeDashArray attached property.
Declaration
public static readonly DependencyProperty LineStrokeDashArrayProperty
Field Value
DependencyProperty
LineStrokeProperty
Identifies the LineStroke attached property.
Declaration
public static readonly DependencyProperty LineStrokeProperty
Field Value
DependencyProperty
LineStrokeThicknessProperty
Identifies the LineStrokeThickness attached property.
Declaration
public static readonly DependencyProperty LineStrokeThicknessProperty
Field Value
DependencyProperty
Properties
CellSize
Gets the cell size.
Declaration
protected override Size CellSize { get; }
Property Value
Size
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
protected override Brush LineStroke { get; }
Property Value
Brush
Overrides
LineStrokeDashArray
Gets the cell size.
Declaration
protected override DoubleCollection LineStrokeDashArray { get; }
Property Value
DoubleCollection
Overrides
LineStrokeThickness
Gets the cell size.
Declaration
protected override double LineStrokeThickness { get; }
Property Value
Overrides
Methods
GetCellSize(DependencyObject)
Gets the cell size.
Declaration
public static Size GetCellSize(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Size
GetIsDynamic(DependencyObject)
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
Declaration
public static bool GetIsDynamic(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetIsGridVisible(DependencyObject)
Gets the grid visibility.
Declaration
public static bool GetIsGridVisible(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetLineStroke(DependencyObject)
Gets the line stroke.
Declaration
public static Brush GetLineStroke(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Brush
GetLineStrokeDashArray(DependencyObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
DoubleCollection
GetLineStrokeThickness(DependencyObject)
Gets the line stroke thickness.
Declaration
public static double GetLineStrokeThickness(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
SetCellSize(DependencyObject, Size)
Sets the cell size.
Declaration
public static void SetCellSize(DependencyObject obj, Size value)
Parameters
obj
DependencyObject
value
Size
SetIsDynamic(DependencyObject, bool)
Sets value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
Declaration
public static void SetIsDynamic(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value
SetIsGridVisible(DependencyObject, bool)
Sets the grid visibility.
Declaration
public static void SetIsGridVisible(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value
SetLineStroke(DependencyObject, Brush)
Sets the line stroke.
Declaration
public static void SetLineStroke(DependencyObject obj, Brush value)
Parameters
obj
DependencyObject
value
Brush
SetLineStrokeDashArray(DependencyObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(DependencyObject obj, DoubleCollection value)
Parameters
obj
DependencyObject
value
DoubleCollection
SetLineStrokeThickness(DependencyObject, double)
Sets the line stroke thickness.
Declaration
public static void SetLineStrokeThickness(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value