Class RulerVirtualizingPanel
Represent a panel for RadDiagramRuler supporting UI virtualization of the ticks.
Inheritance
Namespace: Telerik.Windows.Controls.Diagrams.Extensions
Assembly: Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax
public class RulerVirtualizingPanel : Panel
Constructors
RulerVirtualizingPanel()
Initializes a new instance of the RulerVirtualizingPanel class.
Declaration
public RulerVirtualizingPanel()
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size that is used after the element is arranged in layout. |
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
System.Windows.Size
The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size. |
Refresh(Rect, Double, Dock, MeasurementUnit, IEnumerable<DiagramScaleDefinition>)
Refreshes the scale.
Declaration
public void Refresh(Rect viewport, double zoom, Dock placement, MeasurementUnit measurementUnit, IEnumerable<DiagramScaleDefinition> scaleDefinitions)
Parameters
System.Windows.Rect
viewport
The viewport. |
System.Double
zoom
The zoom. |
System.Windows.Controls.Dock
placement
The placement. |
MeasurementUnit
measurementUnit
The measurement unit. |
System.Collections.Generic.IEnumerable<DiagramScaleDefinition>
scaleDefinitions
The scale definitions. |