BackgroundPageGrid
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 BackgroundPageGrid : BackgroundGridBase
Inheritance: objectBackgroundGridBaseBackgroundPageGrid
Inherited Members
Constructors
public BackgroundPageGrid()
Fields
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
PageSizeProperty
DependencyProperty
Identifies the PageSize attached property.
public static readonly DependencyProperty PageSizeProperty
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 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)
Gets the page size.
public static Size GetPageSize(DependencyObject obj)
Size
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 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)
Sets the page size.
public static void SetPageSize(DependencyObject obj, Size value)