Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1TextField Class / C1TextField Constructor / C1TextField Constructor(CGRect)
Frame used by the view, expressed in iOS points.


In This Topic
    C1TextField Constructor(CGRect)
    In This Topic
    Initializes a new instance of the C1TextField class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal frame As CoreGraphics.CGRect _
    )
    'Usage
     
    
    Dim frame As CoreGraphics.CGRect
     
    Dim instance As New C1TextField(frame)
    public C1TextField( 
       CoreGraphics.CGRect frame
    )

    Parameters

    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.

    See Also