[]
        
(Showing Draft Content)

C1.iOS.Core.C1TextField.-ctor

C1TextField Constructor

C1TextField()

Initializes a new instance of the C1TextField class.

Declaration
public C1TextField()

C1TextField(IntPtr)

Initializes a new instance of the C1TextField class.

Declaration
public C1TextField(IntPtr handle)
Parameters
Type Name Description
IntPtr handle

Pointer (handle) to the unmanaged object.

Remarks

This constructor is invoked by the runtime infrastructure () to create a new managed representation for a pointer to an unmanaged Objective-C object. You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

C1TextField(CGRect)

Initializes a new instance of the C1TextField class.

Declaration
public C1TextField(CGRect frame)
Parameters
Type Name Description
CGRect frame

Frame used by the view, expressed in iOS points.

Remarks

This constructor is used to programmatically create a new instance of UITextField with the specified dimension in the frame. The object will only be displayed once it has been added to a view hierarchy by calling AddSubview in a containing view.

This constructor is not invoked when deserializing objects from storyboards or XIB filesinstead the constructor that takes an NSCoder parameter is invoked.