Class
LogicalCanvasScrollService

Definition

Namespace:Telerik.Windows.Controls.Gantt.Scrolling

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public class LogicalCanvasScrollService : IGanttScrollService, IScrollingInfo, IScrollingServiceCore

Inheritance: objectLogicalCanvasScrollService

Implements: IGanttScrollServiceIScrollingInfoIScrollingServiceCore

Constructors

LogicalCanvasScrollService(LogicalCanvasPanel, GanttItemsPresenter)

Declaration

cs-api-definition
public LogicalCanvasScrollService(LogicalCanvasPanel logicalCanvasPanel, GanttItemsPresenter itemsPresenter)

Parameters

logicalCanvasPanel

LogicalCanvasPanel

itemsPresenter

GanttItemsPresenter

Properties

ExtentHeight

Gets the height of the extent.

Declaration

cs-api-definition
public double ExtentHeight { get; }

Property Value

double

The height of the extent.

Implements IScrollingInfo.ExtentHeight

ExtentWidth

Gets the width of the extent.

Declaration

cs-api-definition
public double ExtentWidth { get; }

Property Value

double

The width of the extent.

Implements IScrollingInfo.ExtentWidth

HorizontalOffset

Gets the horizontal offset.

Declaration

cs-api-definition
public double HorizontalOffset { get; }

Property Value

double

The horizontal offset.

Implements IScrollingInfo.HorizontalOffset

VerticalOffset

Gets the vertical offset.

Declaration

cs-api-definition
public double VerticalOffset { get; }

Property Value

double

The vertical offset.

Implements IScrollingInfo.VerticalOffset

ViewportHeight

Gets the height of the viewport.

Declaration

cs-api-definition
public double ViewportHeight { get; }

Property Value

double

The height of the viewport.

Implements IScrollingInfo.ViewportHeight

ViewportWidth

Gets the width of the viewport.

Declaration

cs-api-definition
public double ViewportWidth { get; }

Property Value

double

The width of the viewport.

Implements IScrollingInfo.ViewportWidth

Methods

GetHorizontalCoordinatesToShowIntoView(object)

Declaration

cs-api-definition
public Range<double> GetHorizontalCoordinatesToShowIntoView(object ganttWrapper)

Parameters

ganttWrapper

object

Returns

Range<double>

Implements IGanttScrollService.GetHorizontalCoordinatesToShowIntoView(object)

GetVerticalCoordinatesToShowIntoView(object)

Declaration

cs-api-definition
public Range<double> GetVerticalCoordinatesToShowIntoView(object ganttWrapper)

Parameters

ganttWrapper

object

Returns

Range<double>

Implements IGanttScrollService.GetVerticalCoordinatesToShowIntoView(object)

ScrollHorizontal(double)

Scrolls the horizontal to the given offset.

Declaration

cs-api-definition
public void ScrollHorizontal(double offsetX)

Parameters

offsetX

double

The offset X.

Implements IScrollingServiceCore.ScrollHorizontal(double)

ScrollHorizontalWithoutRestriction(double)

Declaration

cs-api-definition
public void ScrollHorizontalWithoutRestriction(double offsetX)

Parameters

offsetX

double

Implements IGanttScrollService.ScrollHorizontalWithoutRestriction(double)

ScrollVertical(double)

Scrolls the vertical to the given offset.

Declaration

cs-api-definition
public void ScrollVertical(double offsetY)

Parameters

offsetY

double

The offset Y.

Implements IScrollingServiceCore.ScrollVertical(double)

ScrollVerticalWithoutRestriction(double)

Declaration

cs-api-definition
public void ScrollVerticalWithoutRestriction(double offsetY)

Parameters

offsetY

double

Implements IGanttScrollService.ScrollVerticalWithoutRestriction(double)

TransformFromDropTargetToViewPort(Point)

Calculate the mouse position relative to the drop element.

Declaration

cs-api-definition
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)

Parameters

positionInDropTarget

Point

DragDrop related data.

Returns

Point

Relative DragPoint.

Implements IScrollingInfo.TransformFromDropTargetToViewPort(Point)