BackgroundGrid
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
public BackgroundGrid()
Fields
CellSizeProperty
DependencyProperty
Identifies the CellSize attached property.
public static readonly DependencyProperty CellSizeProperty
IsDynamicProperty
DependencyProperty
Identifies the IsDynamic attached property.
public static readonly DependencyProperty IsDynamicProperty
IsGridVisibleProperty
DependencyProperty
Identifies the IsGridVisible attached property.
public static readonly DependencyProperty IsGridVisibleProperty
LineStrokeDashArrayProperty
DependencyProperty
Identifies the LineStrokeDashArray attached property.
public static readonly DependencyProperty LineStrokeDashArrayProperty
LineStrokeProperty
DependencyProperty
Identifies the LineStroke attached property.
public static readonly DependencyProperty LineStrokeProperty
LineStrokeThicknessProperty
DependencyProperty
Identifies the LineStrokeThickness attached property.
public static readonly DependencyProperty LineStrokeThicknessProperty
Properties
CellSize
Size
Gets the cell size.
protected override Size CellSize { get; }
Overrides:
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
protected override bool IsDynamic { get; }
Overrides:
LineStroke
Brush
Gets the cell size.
protected override Brush LineStroke { get; }
Overrides:
LineStrokeDashArray
DoubleCollection
Gets the cell size.
protected override DoubleCollection LineStrokeDashArray { get; }
Overrides:
Gets the cell size.
protected override double LineStrokeThickness { get; }
Overrides:
Methods
Gets the cell size.
public static Size GetCellSize(DependencyObject obj)
Size
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
public static bool GetIsDynamic(DependencyObject obj)
Gets the grid visibility.
public static bool GetIsGridVisible(DependencyObject obj)
Gets the line stroke.
public static Brush GetLineStroke(DependencyObject obj)
Brush
GetLineStrokeDashArray(DependencyObject)
DoubleCollection
Gets the line stroke dash array.
public static DoubleCollection GetLineStrokeDashArray(DependencyObject obj)
DoubleCollection
Gets the line stroke thickness.
public static double GetLineStrokeThickness(DependencyObject obj)
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()
Sets the cell size.
public static void SetCellSize(DependencyObject obj, Size value)
Sets value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
public static void SetIsDynamic(DependencyObject obj, bool value)
Sets the grid visibility.
public static void SetIsGridVisible(DependencyObject obj, bool value)
Sets the line stroke.
public static void SetLineStroke(DependencyObject obj, Brush value)
Sets the line stroke dash array.
public static void SetLineStrokeDashArray(DependencyObject obj, DoubleCollection value)
Sets the line stroke thickness.
public static void SetLineStrokeThickness(DependencyObject obj, double value)