Class
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:

cs-api-definition
public class BackgroundPageGrid : BackgroundGridBase

Inheritance: objectBackgroundGridBaseBackgroundPageGrid

Inherited Members BackgroundGridBase.Refresh(bool)

Constructors

BackgroundPageGrid()

Declaration

cs-api-definition
public BackgroundPageGrid()

Fields

IsGridVisibleProperty

Identifies the IsGridVisible attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsGridVisibleProperty

Field Value

DependencyProperty

LineStrokeDashArrayProperty

Identifies the LineStrokeDashArray attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineStrokeDashArrayProperty

Field Value

DependencyProperty

LineStrokeProperty

Identifies the LineStroke attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineStrokeProperty

Field Value

DependencyProperty

LineStrokeThicknessProperty

Identifies the LineStrokeThickness attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty LineStrokeThicknessProperty

Field Value

DependencyProperty

PageSizeProperty

Identifies the PageSize attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty PageSizeProperty

Field Value

DependencyProperty

Properties

CellSize

Gets the cell size.

Declaration

cs-api-definition
protected override Size CellSize { get; }

Property Value

Size

Overrides BackgroundGridBase.CellSize

IsDynamic

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

Declaration

cs-api-definition
protected override bool IsDynamic { get; }

Property Value

bool

Overrides BackgroundGridBase.IsDynamic

LineStroke

Gets the cell size.

Declaration

cs-api-definition
protected override Brush LineStroke { get; }

Property Value

Brush

Overrides BackgroundGridBase.LineStroke

LineStrokeDashArray

Gets the cell size.

Declaration

cs-api-definition
protected override DoubleCollection LineStrokeDashArray { get; }

Property Value

DoubleCollection

Overrides BackgroundGridBase.LineStrokeDashArray

LineStrokeThickness

Gets the cell size.

Declaration

cs-api-definition
protected override double LineStrokeThickness { get; }

Property Value

double

Overrides BackgroundGridBase.LineStrokeThickness

Methods

GetIsGridVisible(DependencyObject)

Gets the grid visibility.

Declaration

cs-api-definition
public static bool GetIsGridVisible(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

bool

GetLineStroke(DependencyObject)

Gets the line stroke.

Declaration

cs-api-definition
public static Brush GetLineStroke(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Brush

GetLineStrokeDashArray(DependencyObject)

Gets the line stroke dash array.

Declaration

cs-api-definition
public static DoubleCollection GetLineStrokeDashArray(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DoubleCollection

GetLineStrokeThickness(DependencyObject)

Gets the line stroke thickness.

Declaration

cs-api-definition
public static double GetLineStrokeThickness(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetPageSize(DependencyObject)

Gets the page size.

Declaration

cs-api-definition
public static Size GetPageSize(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Size

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides BackgroundGridBase.OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SetIsGridVisible(DependencyObject, bool)

Sets the grid visibility.

Declaration

cs-api-definition
public static void SetIsGridVisible(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool

SetLineStroke(DependencyObject, Brush)

Sets the line stroke.

Declaration

cs-api-definition
public static void SetLineStroke(DependencyObject obj, Brush value)

Parameters

obj

DependencyObject

value

Brush

SetLineStrokeDashArray(DependencyObject, DoubleCollection)

Sets the line stroke dash array.

Declaration

cs-api-definition
public static void SetLineStrokeDashArray(DependencyObject obj, DoubleCollection value)

Parameters

obj

DependencyObject

value

DoubleCollection

SetLineStrokeThickness(DependencyObject, double)

Sets the line stroke thickness.

Declaration

cs-api-definition
public static void SetLineStrokeThickness(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetPageSize(DependencyObject, Size)

Sets the page size.

Declaration

cs-api-definition
public static void SetPageSize(DependencyObject obj, Size value)

Parameters

obj

DependencyObject

value

Size