ClassRulerVirtualizingPanel
Represent a panel for RadDiagramRuler supporting UI virtualization of the ticks.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Extensions
Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax:
public class RulerVirtualizingPanel : Panel
Inheritance: objectRulerVirtualizingPanel
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
finalSize
Size
The final area within the parent that this object should use to arrange itself and its children.
Returns
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
availableSize
Size
The available size that this object can give to child objects. Infinity (PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available.
Returns
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
viewport
Rect
The viewport.
zoom
The zoom.
placement
Dock
The placement.
measurementUnit
The measurement unit.
scaleDefinitions
IEnumerable<DiagramScaleDefinition>
The scale definitions.