New to Telerik UI for WinForms? Start a free 30-day trial

Provides the grid coordinates, cell element, and table type for a time-cell formatting notification.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TimeCellFormattingEventArgs : EventArgs

Inheritance: objectEventArgsTimeCellFormattingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes formatting data for a time-table cell.

C#
public TimeCellFormattingEventArgs(int column, int row, TimeTableVisualElement element, bool isMinute)
Parameters:columnint

The cell's column index in the table.

rowint

The cell's row index in the table.

elementTimeTableVisualElement

The visual element used for the cell.

isMinutebool

true for a minute cell; otherwise, an hour cell.

Properties

Gets the cell's column index in the time table.

C#
public int Column { get; }

Gets or sets the visual element passed to the formatting handler.

C#
public TimeTableVisualElement Element { get; set; }

Mutating the supplied element affects the cell being added. Replacing this property with another element does not replace the cell in the table.

Gets whether the cell belongs to the minutes table rather than the hours table.

C#
public bool IsMinute { get; }

Gets the cell's row index in the time table.

C#
public int Row { get; }