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

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

C#
public class TimeRulerLineRenderingStatistics : ICellsRenderingStatistics, INotifyDataChanged, IDisposable

Inheritance: objectTimeRulerLineRenderingStatistics

Implements: ICellsRenderingStatisticsIDisposableINotifyDataChanged

Constructors

C#
public TimeRulerLineRenderingStatistics(TimeRulerSettings timeRulerSettings)
Parameters:timeRulerSettingsTimeRulerSettings

Properties

The count of the items for which the statistics are held.

C#
public int ItemsCount { get; }

Implements: ICellsRenderingStatistics.ItemsCount

Methods

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
public double GetDistance(int from, int to)
Parameters:frominttointReturns:

double

Implements: ICellsRenderingStatistics.GetDistance(int, int)

C#
public double GetGapAfterItem(int index)
Parameters:indexintReturns:

double

Implements: ICellsRenderingStatistics.GetGapAfterItem(int)

C#
public int GetItemByOffset(double offset)
Parameters:offsetdoubleReturns:

int

Implements: ICellsRenderingStatistics.GetItemByOffset(double)

C#
public double GetItemsLength()
Returns:

double

Implements: ICellsRenderingStatistics.GetItemsLength()

C#
public double GetItemStart(int index)
Parameters:indexintReturns:

double

Implements: ICellsRenderingStatistics.GetItemStart(int)

C#
public Range<int> GetLastUpdatedItems()
Returns:

Range<int>

Implements: ICellsRenderingStatistics.GetLastUpdatedItems()

C#
public double GetNodeRenderLength(int index)
Parameters:indexintReturns:

double

Implements: ICellsRenderingStatistics.GetNodeRenderLength(int)

C#
protected virtual void OnDataChanged(EventArgs e)
Parameters:eEventArgs
C#
public void UpdateItemLength(int index, double length)
Parameters:indexintlengthdouble

Implements: ICellsRenderingStatistics.UpdateItemLength(int, double)

Events

Occurs when the data changes.

C#
public event EventHandler DataChanged

Implements: INotifyDataChanged.DataChanged