ClassGanttScrollingService
Represents a class that provides properties and methods for scrolling the RadGanttView.
Definition
Namespace:Telerik.Windows.Controls.Gantt.Scrolling
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public sealed class GanttScrollingService
Inheritance: objectGanttScrollingService
Properties
ScrollSettings
The default ScrollSettings used from the GanttScrollingService for horizontal and vertical scrolling.
Declaration
public ScrollSettings ScrollSettings { get; set; }
Property Value
Methods
ResumeExecution()
Invokes the queued actions.
Declaration
public void ResumeExecution()
ScrollHorizontalTo(double, GanttScrollArea)
Scrolls the passed GanttScrollArea horizontally with the specified offset (in pixels).
Declaration
public void ScrollHorizontalTo(double offset, GanttScrollArea ganttArea)
Parameters
offset
The offset (in pixels).
ganttArea
The GanttScrollArea that will be scrolled.
ScrollIntoView(object)
Scrolls both GanttScrollAreas horizontally and vertically to the passed item using the default ScrollSettings.
Declaration
public void ScrollIntoView(object item)
Parameters
item
The item to which will be scrolled.
ScrollIntoView(object, ScrollSettings)
Scrolls both GanttScrollAreas horizontally and vertically to the passed item using the passed ScrollSettings.
Declaration
public void ScrollIntoView(object item, ScrollSettings settings)
Parameters
item
The item to which will be scrolled.
settings
The ScrollSettings with which to scroll.
ScrollToColumn(ColumnDefinitionBase)
Scrolls the GridViewArea to the specified by its ColumnDefinitionBase column.
Declaration
public void ScrollToColumn(ColumnDefinitionBase columnDefinition)
Parameters
columnDefinition
The ColumnDefinitionBase to which to scroll.
ScrollToColumn(int)
Scrolls the GridViewArea to the specified by its index column.
Declaration
public void ScrollToColumn(int columnIndex)
Parameters
columnIndex
The column index to which to scroll.
ScrollToDateTime(DateTime)
Scrolls the TimeLineArea to the specified DateTime.
ScrollToRow(int)
Scrolls vertically so that the specified by its index row is made visible.
Declaration
public void ScrollToRow(int rowIndex)
Parameters
rowIndex
The row index to scroll to.
ScrollVerticalTo(double)
Scrolls both GanttScrollAreas vertically from the initial scroll position with the specified offset (in pixels).
Declaration
public void ScrollVerticalTo(double offset)
Parameters
offset
The offset (in pixels).
ScrollVerticalWith(double)
Scrolls both GanttScrollAreas vertically from the current scroll position with the specified offset (in pixels).
Declaration
public void ScrollVerticalWith(double offset)
Parameters
offset
The offset (in pixels).