New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Controls.Gantt.Scrolling

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class LogicalCanvasScrollService : IGanttScrollService, IScrollingInfo, IScrollingServiceCore

Inheritance: objectLogicalCanvasScrollService

Implements: IGanttScrollServiceIScrollingInfoIScrollingServiceCore

Constructors

C#
public LogicalCanvasScrollService(LogicalCanvasPanel logicalCanvasPanel, GanttItemsPresenter itemsPresenter)
Parameters:logicalCanvasPanelLogicalCanvasPanelitemsPresenterGanttItemsPresenter

Properties

Gets the height of the extent.

C#
public double ExtentHeight { get; }
Property Value:

The height of the extent.

Implements: IScrollingInfo.ExtentHeight

Gets the width of the extent.

C#
public double ExtentWidth { get; }
Property Value:

The width of the extent.

Implements: IScrollingInfo.ExtentWidth

Gets the horizontal offset.

C#
public double HorizontalOffset { get; }
Property Value:

The horizontal offset.

Implements: IScrollingInfo.HorizontalOffset

Gets the vertical offset.

C#
public double VerticalOffset { get; }
Property Value:

The vertical offset.

Implements: IScrollingInfo.VerticalOffset

Gets the height of the viewport.

C#
public double ViewportHeight { get; }
Property Value:

The height of the viewport.

Implements: IScrollingInfo.ViewportHeight

Gets the width of the viewport.

C#
public double ViewportWidth { get; }
Property Value:

The width of the viewport.

Implements: IScrollingInfo.ViewportWidth

Methods

C#
public Range<double> GetHorizontalCoordinatesToShowIntoView(object ganttWrapper)
Parameters:ganttWrapperobjectReturns:

Range<double>

Implements: IGanttScrollService.GetHorizontalCoordinatesToShowIntoView(object)

C#
public Range<double> GetVerticalCoordinatesToShowIntoView(object ganttWrapper)
Parameters:ganttWrapperobjectReturns:

Range<double>

Implements: IGanttScrollService.GetVerticalCoordinatesToShowIntoView(object)

Scrolls the horizontal to the given offset.

C#
public void ScrollHorizontal(double offsetX)
Parameters:offsetXdouble

The offset X.

Implements: IScrollingServiceCore.ScrollHorizontal(double)

C#
public void ScrollHorizontalWithoutRestriction(double offsetX)
Parameters:offsetXdouble

Implements: IGanttScrollService.ScrollHorizontalWithoutRestriction(double)

Scrolls the vertical to the given offset.

C#
public void ScrollVertical(double offsetY)
Parameters:offsetYdouble

The offset Y.

Implements: IScrollingServiceCore.ScrollVertical(double)

C#
public void ScrollVerticalWithoutRestriction(double offsetY)
Parameters:offsetYdouble

Implements: IGanttScrollService.ScrollVerticalWithoutRestriction(double)

Calculate the mouse position relative to the drop element.

C#
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)
Parameters:positionInDropTargetPoint

DragDrop related data.

Returns:

Point

Relative DragPoint.

Implements: IScrollingInfo.TransformFromDropTargetToViewPort(Point)