Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDateTimeColumn - Xamarin.iOS API Reference | Syncfusion SfDataGrid column that hosts Syncfusion.SfDataGrid.Renderers.SfDatePicker in its cells. ">

    Show / Hide Table of Contents

    Class GridDateTimeColumn

    Represents a SfDataGrid column that hosts Syncfusion.SfDataGrid.Renderers.SfDatePicker in its cells.

    Inheritance
    System.Object
    GridColumn
    GridDateTimeColumn
    Implements
    System.IDisposable
    Inherited Members
    GridColumn.GetFormattedValue(Object)
    GridColumn.SetGrid(SfDataGrid)
    GridColumn.CanEditCell()
    GridColumn.Dispose()
    GridColumn.Dispose(Boolean)
    GridColumn.ColumnSizer
    GridColumn.LineBreakMode
    GridColumn.HeaderTemplate
    GridColumn.ActualWidth
    GridColumn.MappingName
    GridColumn.HeaderText
    GridColumn.UserCellType
    GridColumn.AllowSorting
    GridColumn.Format
    GridColumn.CultureInfo
    GridColumn.HeaderTextMargin
    GridColumn.TextMargin
    GridColumn.HeaderCellTextSize
    GridColumn.CellTextSize
    GridColumn.RecordFont
    GridColumn.HeaderFont
    GridColumn.TextAlignment
    GridColumn.HeaderTextAlignment
    GridColumn.AllowEditing
    GridColumn.GroupMode
    GridColumn.CellType
    GridColumn.IsHidden
    GridColumn.Width
    GridColumn.MinimumWidth
    GridColumn.MaximumWidth
    GridColumn.SortMode
    Namespace: Syncfusion.SfDataGrid
    Assembly: Syncfusion.SfDataGrid.iOS.dll
    Syntax
    public class GridDateTimeColumn : GridColumn, IDisposable
    Remarks

    Use GridDataTimeColumn to display columns of date-time as picker data in Syncfusion.SfDataGrid.Renderers.SfDatePicker.

    To create a column, add it to the Columns collection. To populate the column, assign the column to the date time data by using the MappingName property. The value is applied to each and every UIKit.UILabel view created in the column. Upon editing it displays Syncfusion.SfDataGrid.Renderers.SfDatePicker for editing values.

    Constructors

    GridDateTimeColumn()

    Initializes a new instance of the GridDateTimeColumn class.

    Declaration
    public GridDateTimeColumn()

    Properties

    MaximumDate

    Gets or sets the maximum date to be available in the DatePicker in each record cell of the GridDateTimeColumn

    Declaration
    public DateTime MaximumDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    The maximum date to be available in the DatePicker.

    Remarks

    A DatePicker control is loaded in the record cells of the GridDateTimeColumn. It enables you to scroll through a list of dates between the MinimumDate and MaximumDate and select one from it.

    Examples
    GridDateTimeColumn dateTimeColumn = new GridDateTimeColumn();
    dateTimeColumn.MaximumDate = new DateTime(2020, 01, 01);
    dateTimeColumn.MinimumDate = new DateTime(1990, 01, 01);
    See Also
    https://help.syncfusion.com/xamarin-ios/sfdatagrid/column-types#griddatetimecolumn

    MinimumDate

    Gets or sets the minimum date to be available in the DatePicker in each record cell of the GridDateTimeColumn

    Declaration
    public DateTime MinimumDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    The minimum date to be available in the DatePicker.

    Remarks

    A DatePicker control is loaded in the record cells of the GridDateTimeColumn. It enables you to scroll through a list of dates between the MinimumDate and MaximumDate and select one from it.

    Examples
    GridDateTimeColumn dateTimeColumn = new GridDateTimeColumn();
    dateTimeColumn.MaximumDate = new DateTime(2020, 01, 01);
    dateTimeColumn.MinimumDate = new DateTime(1990, 01, 01);
    See Also
    https://help.syncfusion.com/xamarin-ios/sfdatagrid/column-types#griddatetimecolumn

    Events

    Closed

    Event that provides values of the picker when DONE or OK button is clicked.

    Declaration
    public event EventHandler<PickerClosedEventArgs> Closed
    Event Type
    Type Description
    System.EventHandler<PickerClosedEventArgs>
    Examples
    pickerColumn.Closed += pickerColumn_Closed;
    
    void pickerColumn_Closed(object sender, PickerClosedEventArgs e)
    {
    //You can achieve your requirement here.
    }

    Implements

    System.IDisposable

    See Also

    https://help.syncfusion.com/xamarin-ios/sfdatagrid/column-types#griddatetimecolumn
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved