Dim b As Button .
Dim ButtonText as int = Colors.White
Dim ButtonColor as int = Colors.Blue
b.Color = ButtonColor
b.SetBorder(2,ButtonColor,10)
'state: 0 = normal, 1 = pressed, 2 = disabled
Dim no As NativeObject = b
no.RunMethod("setTitleColor:forState:", Array(no.ColorToUIColor(ButtonText), 0))
no.RunMethod("setTitleColor:forState:", Array(no.ColorToUIColor(ButtonColor), 1))
no.RunMethod("setTitleColor:forState:", Array(no.ColorToUIColor(Colors.Gray), 2))