' *** Set border color ***
Dim pnl As Panel
pnl.Initialize ("")
pnl.SetBorder (1, Colors.Magenta, 0)
' *** Get border color ***
Dim noMe As NativeObject = Me
Dim BorderUIColor As Int = noMe.UIColorToColor (noMe.RunMethod ("borderColor:", Array (pnl)))
' *** Test results ***
If BorderUIColor = Colors.Magenta Then Log ("Magenta") Else Log ("not Magenta")
....
#If OBJC
- (UIColor *) borderColor: (UIView *) view { return [[UIColor alloc] initWithCGColor: view.layer.borderColor]; }
#End If