1234567891011121314151617181920212223242526 |
- using System;
- using Syncfusion.SfDataGrid.XForms;
- using Xamarin.Forms;
- namespace comal.timesheets
- {
- public class MobileGridDateColumn<TEntity> : MobileGridColumn<TEntity, DateTime>
- {
-
- public String Format { get; set; }
-
- public MobileGridDateColumn() : base()
- {
- Width = GridLength.Auto;
- }
-
- public override GridColumn CreateColumn()
- {
- var result = CreateColumn<GridDateTimeColumn>();
- result.Format = Format;
- return result;
- }
- }
-
- }
|