New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class BackgroundPageGrid : BackgroundGridBase

Inheritance: objectBackgroundGridBaseBackgroundPageGrid

Inherited Members BackgroundGridBase.Refresh(bool)

Constructors

C#
public BackgroundPageGrid()

Fields

IsGridVisibleProperty

DependencyProperty

Identifies the IsGridVisible attached property.

C#
public static readonly DependencyProperty IsGridVisibleProperty

LineStrokeDashArrayProperty

DependencyProperty

Identifies the LineStrokeDashArray attached property.

C#
public static readonly DependencyProperty LineStrokeDashArrayProperty

LineStrokeProperty

DependencyProperty

Identifies the LineStroke attached property.

C#
public static readonly DependencyProperty LineStrokeProperty

LineStrokeThicknessProperty

DependencyProperty

Identifies the LineStrokeThickness attached property.

C#
public static readonly DependencyProperty LineStrokeThicknessProperty

PageSizeProperty

DependencyProperty

Identifies the PageSize attached property.

C#
public static readonly DependencyProperty PageSizeProperty

Properties

Gets the cell size.

C#
protected override Size CellSize { get; }

Overrides: BackgroundGridBase.CellSize

Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).

C#
protected override bool IsDynamic { get; }

Overrides: BackgroundGridBase.IsDynamic

Gets the cell size.

C#
protected override Brush LineStroke { get; }

Overrides: BackgroundGridBase.LineStroke

LineStrokeDashArray

DoubleCollection

Gets the cell size.

C#
protected override DoubleCollection LineStrokeDashArray { get; }

Overrides: BackgroundGridBase.LineStrokeDashArray

Gets the cell size.

C#
protected override double LineStrokeThickness { get; }

Overrides: BackgroundGridBase.LineStrokeThickness

Methods

Gets the grid visibility.

C#
public static bool GetIsGridVisible(DependencyObject obj)
Parameters:objDependencyObjectReturns:

bool

Gets the line stroke.

C#
public static Brush GetLineStroke(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Brush

Gets the line stroke dash array.

C#
public static DoubleCollection GetLineStrokeDashArray(DependencyObject obj)
Parameters:objDependencyObjectReturns:

DoubleCollection

Gets the line stroke thickness.

C#
public static double GetLineStrokeThickness(DependencyObject obj)
Parameters:objDependencyObjectReturns:

double

Gets the page size.

C#
public static Size GetPageSize(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Size

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Overrides: BackgroundGridBase.OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()

Sets the grid visibility.

C#
public static void SetIsGridVisible(DependencyObject obj, bool value)
Parameters:objDependencyObjectvaluebool

Sets the line stroke.

C#
public static void SetLineStroke(DependencyObject obj, Brush value)
Parameters:objDependencyObjectvalueBrush

Sets the line stroke dash array.

C#
public static void SetLineStrokeDashArray(DependencyObject obj, DoubleCollection value)
Parameters:objDependencyObjectvalueDoubleCollection

Sets the line stroke thickness.

C#
public static void SetLineStrokeThickness(DependencyObject obj, double value)
Parameters:objDependencyObjectvaluedouble

Sets the page size.

C#
public static void SetPageSize(DependencyObject obj, Size value)
Parameters:objDependencyObjectvalueSize