Date Time Cell

Represents a cell containing a date time picker.

Namespace: LSOne.Controls.Cells

Assembly: LSOne.Controls.ListView

Syntax

public class DateTimeCell : Cell

DateTime cell

Constructors

Name Description
DateTimeCell() Default constructor. Initializes a new instance of the DatetimeCell class
DateTimeCell(string, System.Datetime) Initializes a new instance of the DateTimeCell with the given text and DateTime
DateTimeCell(string, System.Datetime, LSOne.Controls.Style) Initializes a new instance of the DateTimeCell with the given text, DateTime and style.

Properties

Name Description
SortRank Gets a sort rank equal to 7
   

Examples

 

See Source\SM\Plugins\PeriodicDiscounts\ViewPages\CustomerPromotionsPage.cs from DevPack for usage examples.

 

row.AddCell(new DateTimeCell(DateTime.Now.ToString(), DateTime.Now));

See also