iOSRectangle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from iOSControl)

The standard rectangle control for iOS.

Events
Close Open
Properties
AccessibilityHint CornerWidth Parent fa-lock-32.png
AccessibilityLabel FillColor Top fa-lock-32.png
BorderColor Height fa-lock-32.png Visible
BorderWidth Left fa-lock-32.png Width fa-lock-32.png
CornerHeight Name fa-lock-32.png
Methods
AddConstraint Handle SetEffect
AddControl Invalidate SetTintColor
Control RemoveConstraint
ControlCount RemoveControl
Enumerations
BlurStyles VibrancyStyles

Sample Code

Sample Code In the Open event handler, update the rectangle to have thick blue borders, rounded corners and a red fill:

Me.BorderColor = Color.Blue
Me.BorderWidth = 10
Me.CornerHeight = 25
Me.CornerWidth = 25
Me.FillColor = Color.Red