Class
TimeRulerLineRenderingStatistics

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public class TimeRulerLineRenderingStatistics : ICellsRenderingStatistics, INotifyDataChanged, IDisposable

Inheritance: objectTimeRulerLineRenderingStatistics

Implements: ICellsRenderingStatisticsIDisposableINotifyDataChanged

Constructors

TimeRulerLineRenderingStatistics(TimeRulerSettings)

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TimeRulerLineRenderingStatistics(TimeRulerSettings timeRulerSettings)

Parameters

timeRulerSettings

TimeRulerSettings

Properties

ItemsCount

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

Declaration

cs-api-definition
public int ItemsCount { get; }

Property Value

int

Implements ICellsRenderingStatistics.ItemsCount

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

GetDistance(int, int)

Declaration

cs-api-definition
public double GetDistance(int from, int to)

Parameters

from

int

to

int

Returns

double

Implements ICellsRenderingStatistics.GetDistance(int, int)

GetGapAfterItem(int)

Declaration

cs-api-definition
public double GetGapAfterItem(int index)

Parameters

index

int

Returns

double

Implements ICellsRenderingStatistics.GetGapAfterItem(int)

GetItemByOffset(double)

Declaration

cs-api-definition
public int GetItemByOffset(double offset)

Parameters

offset

double

Returns

int

Implements ICellsRenderingStatistics.GetItemByOffset(double)

GetItemStart(int)

Declaration

cs-api-definition
public double GetItemStart(int index)

Parameters

index

int

Returns

double

Implements ICellsRenderingStatistics.GetItemStart(int)

GetItemsLength()

Declaration

cs-api-definition
public double GetItemsLength()

Returns

double

Implements ICellsRenderingStatistics.GetItemsLength()

GetLastUpdatedItems()

Declaration

cs-api-definition
public Range<int> GetLastUpdatedItems()

Returns

Range<int>

Implements ICellsRenderingStatistics.GetLastUpdatedItems()

GetNodeRenderLength(int)

Declaration

cs-api-definition
public double GetNodeRenderLength(int index)

Parameters

index

int

Returns

double

Implements ICellsRenderingStatistics.GetNodeRenderLength(int)

OnDataChanged(EventArgs)

Declaration

cs-api-definition
protected virtual void OnDataChanged(EventArgs e)

Parameters

e

EventArgs

UpdateItemLength(int, double)

Declaration

cs-api-definition
public void UpdateItemLength(int index, double length)

Parameters

index

int

length

double

Implements ICellsRenderingStatistics.UpdateItemLength(int, double)

Events

DataChanged

Occurs when the data changes.

Declaration

cs-api-definition
public event EventHandler DataChanged

Event Value

EventHandler

Implements INotifyDataChanged.DataChanged