ComponentOne Xamarin.iOS
C1Label Constructor(CGRect)


C1.iOS.Core Assembly > C1.iOS.Core Namespace > C1Label Class > C1Label Constructor : C1Label Constructor(CGRect)
Frame used by the view, expressed in iOS points.
Initializes a new instance of the C1Label class.
Syntax
'Declaration
 
Public Function New( _
   ByVal frame As CoreGraphics.CGRect _
)
'Usage
 
Dim frame As CoreGraphics.CGRect
 
Dim instance As New C1Label(frame)
public C1Label( 
   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 UILabel 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

Reference

C1Label Class
C1Label Members
Overload List