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
Initializes a new instance of the RulerVirtualizingPanel class.
public RulerVirtualizingPanel()
Methods
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
protected override Size ArrangeOverride(Size finalSize)
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.
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
protected override Size MeasureOverride(Size availableSize)
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.
Refreshes the scale.
public void Refresh(Rect viewport, double zoom, Dock placement, MeasurementUnit measurementUnit, IEnumerable<DiagramScaleDefinition> scaleDefinitions)
The viewport.
zoomdoubleThe zoom.
placementDockThe placement.
measurementUnitMeasurementUnitThe measurement unit.
scaleDefinitionsIEnumerable<DiagramScaleDefinition>The scale definitions.