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
|
RadProperty
|
LineStrokeDashArrayProperty
Identifies the LineStrokeDashArray attached property.
Declaration
public static readonly RadProperty LineStrokeDashArrayProperty
Field Value
|
RadProperty
|
LineStrokeProperty
Identifies the LineStroke attached property.
Declaration
public static readonly RadProperty LineStrokeProperty
Field Value
|
RadProperty
|
LineStrokeThicknessProperty
Identifies the LineStrokeThickness attached property.
Declaration
public static readonly RadProperty LineStrokeThicknessProperty
Field Value
|
RadProperty
|
PageSizeProperty
Identifies the PageSize attached property.
Declaration
public static readonly RadProperty PageSizeProperty
Field Value
|
RadProperty
|
Properties
CellSize
Gets the cell size.
Declaration
public override Size CellSize { get; set; }
Property Value
|
Size
|
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.Boolean
|
Overrides
LineStroke
Gets the cell size.
Declaration
public override Brush LineStroke { get; set; }
Property Value
|
System.Drawing.Brush
|
Overrides
LineStrokeDashArray
Gets the cell size.
Declaration
public override DoubleCollection LineStrokeDashArray { get; set; }
Property Value
|
DoubleCollection
|
Overrides
LineStrokeThickness
Gets the cell size.
Declaration
public override double LineStrokeThickness { get; set; }
Property Value
|
System.Double
|
Overrides
PageSize
Methods
CreateChildElements()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
protected override void CreateChildElements()
Overrides
GetIsGridVisible(RadObject)
Gets the grid visibility.
Declaration
public static bool GetIsGridVisible(RadObject obj)
Parameters
|
RadObject
obj
|
Returns
|
System.Boolean
|
GetLineStroke(RadObject)
Gets the line stroke.
Declaration
public static Brush GetLineStroke(RadObject obj)
Parameters
|
RadObject
obj
|
Returns
|
System.Drawing.Brush
|
GetLineStrokeDashArray(RadObject)
Gets the line stroke dash array.
Declaration
public static DoubleCollection GetLineStrokeDashArray(RadObject obj)
Parameters
|
RadObject
obj
|
Returns
|
DoubleCollection
|
GetLineStrokeThickness(RadObject)
Gets the line stroke thickness.
Declaration
public static double GetLineStrokeThickness(RadObject obj)
Parameters
|
RadObject
obj
|
Returns
|
System.Double
|
GetPageSize(RadObject)
Gets the page size.
Declaration
public static Size GetPageSize(RadObject obj)
Parameters
|
RadObject
obj
|
Returns
|
Size
|
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
|
RadObject
obj
|
|
System.Boolean
value
|
SetLineStroke(RadObject, Brush)
Sets the line stroke.
Declaration
public static void SetLineStroke(RadObject obj, Brush value)
Parameters
|
RadObject
obj
|
|
System.Drawing.Brush
value
|
SetLineStrokeDashArray(RadObject, DoubleCollection)
Sets the line stroke dash array.
Declaration
public static void SetLineStrokeDashArray(RadObject obj, DoubleCollection value)
Parameters
|
RadObject
obj
|
|
DoubleCollection
value
|
SetLineStrokeThickness(RadObject, Double)
Sets the line stroke thickness.
Declaration
public static void SetLineStrokeThickness(RadObject obj, double value)
Parameters
|
RadObject
obj
|
|
System.Double
value
|
SetPageSize(RadObject, Size)
Sets the page size.
Declaration
public static void SetPageSize(RadObject obj, Size value)
Parameters
|
RadObject
obj
|
|
Size
value
|