ClassLogicalCanvasScrollService
Definition
Namespace:Telerik.Windows.Controls.Gantt.Scrolling
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class LogicalCanvasScrollService : IGanttScrollService, IScrollingInfo, IScrollingServiceCore
Inheritance: objectLogicalCanvasScrollService
Implements:
Constructors
LogicalCanvasScrollService(LogicalCanvasPanel, GanttItemsPresenter)
Declaration
public LogicalCanvasScrollService(LogicalCanvasPanel logicalCanvasPanel, GanttItemsPresenter itemsPresenter)
Parameters
logicalCanvasPanel
itemsPresenter
Properties
ExtentHeight
Gets the height of the extent.
Declaration
public double ExtentHeight { get; }
Property Value
The height of the extent.
Implements
ExtentWidth
Gets the width of the extent.
Declaration
public double ExtentWidth { get; }
Property Value
The width of the extent.
Implements
HorizontalOffset
Gets the horizontal offset.
Declaration
public double HorizontalOffset { get; }
Property Value
The horizontal offset.
Implements
VerticalOffset
Gets the vertical offset.
Declaration
public double VerticalOffset { get; }
Property Value
The vertical offset.
Implements
ViewportHeight
Gets the height of the viewport.
Declaration
public double ViewportHeight { get; }
Property Value
The height of the viewport.
Implements
ViewportWidth
Gets the width of the viewport.
Declaration
public double ViewportWidth { get; }
Property Value
The width of the viewport.
Implements
Methods
ScrollHorizontal(double)
Scrolls the horizontal to the given offset.
Declaration
public void ScrollHorizontal(double offsetX)
Parameters
offsetX
The offset X.
Implements
ScrollHorizontalWithoutRestriction(double)
Declaration
public void ScrollHorizontalWithoutRestriction(double offsetX)
Parameters
offsetX
Implements
ScrollVertical(double)
Scrolls the vertical to the given offset.
Declaration
public void ScrollVertical(double offsetY)
Parameters
offsetY
The offset Y.
Implements
ScrollVerticalWithoutRestriction(double)
Declaration
public void ScrollVerticalWithoutRestriction(double offsetY)
Parameters
offsetY
Implements
TransformFromDropTargetToViewPort(Point)
Calculate the mouse position relative to the drop element.
Declaration
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)
Parameters
positionInDropTarget
Point
DragDrop related data.
Returns
Point
Relative DragPoint.
Implements