ClassBackgroundPageGrid
Represents a visual grid of lines usually used as background surface.
Definition
Namespace:Telerik.WinControls.UI.Diagrams.Primitives
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class BackgroundPageGrid : BackgroundGridBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementPanelCanvasBackgroundGridBaseBackgroundPageGrid
Implements:
Inherited Members
Constructors
BackgroundPageGrid()
Declaration
public BackgroundPageGrid()
Fields
IsGridVisibleProperty
Identifies the IsGridVisible attached property.
Declaration
public static readonly RadProperty IsGridVisibleProperty
Field Value
LineStrokeDashArrayProperty
Identifies the LineStrokeDashArray attached property.
Declaration
public static readonly RadProperty LineStrokeDashArrayProperty
Field Value
LineStrokeProperty
Identifies the LineStroke attached property.
Declaration
public static readonly RadProperty LineStrokeProperty
Field Value
LineStrokeThicknessProperty
Identifies the LineStrokeThickness attached property.
Declaration
public static readonly RadProperty LineStrokeThicknessProperty
Field Value
PageSizeProperty
Identifies the PageSize attached property.
Declaration
public static readonly RadProperty PageSizeProperty
Field Value
Properties
CellSize
Gets the cell size.
Declaration
public override Size CellSize { get; set; }
Property Value
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
public override Brush LineStroke { get; set; }
Property Value
Overrides
LineStrokeDashArray
Gets the cell size.
Declaration
public override DoubleCollection LineStrokeDashArray { get; set; }
Property Value
Overrides
LineStrokeThickness
Gets the cell size.
Declaration
public override double LineStrokeThickness { get; set; }
Property Value
Overrides
Methods
CreateChildElements()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
protected override void CreateChildElements()
Overrides
GetIsGridVisible(RadObject)
Gets the grid visibility.
GetLineStroke(RadObject)
Gets the line stroke.
GetLineStrokeDashArray(RadObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Parameters
obj
Returns
GetLineStrokeThickness(RadObject)
Gets the line stroke thickness.
GetPageSize(RadObject)
Gets the page size.
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
SetIsGridVisible(RadObject, bool)
Sets the grid visibility.
SetLineStroke(RadObject, Brush)
Sets the line stroke.
SetLineStrokeDashArray(RadObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)
Parameters
obj
value
SetLineStrokeThickness(RadObject, double)
Sets the line stroke thickness.
SetPageSize(RadObject, Size)
Sets the page size.