Generic Picker View

Hello. I'm writing a generic Picker view and would like to pass the required PickerStyle to the view.

Can anyone tell me how to pass PickerStyle as an argument?

Thank you