Class SfTimePicker
A customized view that allows time picking.
Inheritance
Namespace: Syncfusion.iOS.DataForm.Editors
Assembly: Syncfusion.SfDataForm.iOS.dll
Syntax
public class SfTimePicker : UIView
Constructors
SfTimePicker()
Initializes a new instance of the SfTimePicker class.
Declaration
public SfTimePicker()
Properties
Format
Gets or sets the date format.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
Hint
Gets or sets the hint to be displayed in time picker.
Declaration
public string Hint { get; set; }
Property Value
Type |
---|
System.String |
Hour
Gets or sets the Hour.
Declaration
public int Hour { get; set; }
Property Value
Type |
---|
System.Int32 |
Minute
Gets or sets the Minute.
Declaration
public int Minute { get; set; }
Property Value
Type |
---|
System.Int32 |
TextColor
Gets or sets the text color of the picker.
Declaration
public UIColor TextColor { get; set; }
Property Value
Type |
---|
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
EditingCompleted
Occurs after editing is completed.
Declaration
public event EventHandler EditingCompleted
Event Type
Type |
---|
System.EventHandler |
TimeChanged
Occurs when time is changed in SfTimePicker.
Declaration
public event EventHandler TimeChanged
Event Type
Type |
---|
System.EventHandler |