BackgroundPageGrid
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
public BackgroundPageGrid()
Fields
Identifies the IsGridVisible attached property.
public static readonly RadProperty IsGridVisibleProperty
Identifies the LineStrokeDashArray attached property.
public static readonly RadProperty LineStrokeDashArrayProperty
Identifies the LineStroke attached property.
public static readonly RadProperty LineStrokeProperty
Identifies the LineStrokeThickness attached property.
public static readonly RadProperty LineStrokeThicknessProperty
Identifies the PageSize attached property.
public static readonly RadProperty PageSizeProperty
Properties
Gets a value indicating whether the grid will be synchronized with the diagram viewport changes (panning and zooming).
protected override bool IsDynamic { get; }
Overrides:
Gets the cell size.
public override Brush LineStroke { get; set; }
Overrides:
Gets the cell size.
public override DoubleCollection LineStrokeDashArray { get; set; }
Overrides:
Gets the cell size.
public override double LineStrokeThickness { get; set; }
Overrides:
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
protected override void CreateChildElements()
Overrides:
Gets the line stroke dash array.
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
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.
protected override void InitializeFields()
Overrides:
Resets the theme.
public void ResetTheme()
Sets the line stroke dash array.
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)