Class BackgroundPageGrid
Represents a visual grid of lines usually used as background surface.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams.Primitives
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class BackgroundPageGrid : BackgroundGridBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
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
System.
|
Overrides
LineStroke
Gets the cell size.
Declaration
public override Brush LineStroke { get; set; }
Property Value
System.
|
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
System.
|
Overrides
PageSize
Methods
CreateChildElements()
When overridden in a derived class, is invoked whenever application
code or internal processes call System.
Declaration
protected override void CreateChildElements()
Overrides
GetIsGridVisible(RadObject)
Gets the grid visibility.
Declaration
public static bool GetIsGridVisible(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetLineStroke(RadObject)
Gets the line stroke.
Declaration
public static Brush GetLineStroke(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetLineStrokeDashArray(RadObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Parameters
Rad
|
Returns
GetLineStrokeThickness(RadObject)
Gets the line stroke thickness.
Declaration
public static double GetLineStrokeThickness(RadObject obj)
Parameters
Rad
|
Returns
System.
|
GetPageSize(RadObject)
Gets the page size.
Declaration
public static Size GetPageSize(RadObject obj)
Parameters
Rad
|
Returns
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetIsGridVisible(RadObject, Boolean)
Sets the grid visibility.
Declaration
public static void SetIsGridVisible(RadObject obj, bool value)
Parameters
Rad
|
System.
|
SetLineStroke(RadObject, Brush)
Sets the line stroke.
Declaration
public static void SetLineStroke(RadObject obj, Brush value)
Parameters
Rad
|
System.
|
SetLineStrokeDashArray(RadObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)
Parameters
Rad
|
Double
|
SetLineStrokeThickness(RadObject, Double)
Sets the line stroke thickness.
Declaration
public static void SetLineStrokeThickness(RadObject obj, double value)
Parameters
Rad
|
System.
|
SetPageSize(RadObject, Size)
Sets the page size.
Declaration
public static void SetPageSize(RadObject obj, Size value)