Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfDatePicker - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfDatePicker

    A customized view that allows date picking. ​

    Inheritance
    System.Object
    SfDatePicker
    Namespace: Syncfusion.iOS.DataForm.Editors
    Assembly: Syncfusion.SfDataForm.iOS.dll
    Syntax
    public class SfDatePicker : UIControl

    Constructors

    SfDatePicker()

    Initializes a new instance of the SfDatePicker.

    Declaration
    public SfDatePicker()

    Properties

    Date

    Gets or sets the date.

    Declaration
    public Nullable<DateTime> Date { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    Format

    Gets or sets the date format.

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    Hint

    Gets or sets the hint to be displayed in date picker.

    Declaration
    public string Hint { get; set; }
    Property Value
    Type Description
    System.String

    MaximumDate

    Gets or sets the maximum date.

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

    MinimumDate

    Gets or sets the minimum date.

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

    The MinimumDate.

    TextColor

    Gets or sets the text color of the picker.

    Declaration
    public UIColor TextColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    Methods

    BecomeFirstResponder()

    Request the object to become the first responder.

    Declaration
    public override bool BecomeFirstResponder()
    Returns
    Type Description
    System.Boolean

    Returns true if the object accepts becoming the first responder, or false if it does not. The default is to accept.

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    LayoutSubviews()

    Layout the children in the view. Derived classes with children should override this method and call layout on each of their children.

    Declaration
    public override void LayoutSubviews()

    ResignFirstResponder()

    Called when this UIResponder has been asked to resign its first responder status.

    Declaration
    public override bool ResignFirstResponder()
    Returns
    Type Description
    System.Boolean

    true if the UIKit.UIResponder resigned first responder status.

    Events

    DateChanged

    Occurs when date value is changed.

    Declaration
    public event EventHandler DateChanged
    Event Type
    Type Description
    System.EventHandler

    EditingCompleted

    Occurs when editing is completed.

    Declaration
    public event EventHandler EditingCompleted
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved