Inherits from Xamarin.Forms.ContentView The phone number box is actually a compound view composed of an optional Picker and a text box. The text box is for the actual phone number to be entered. If the Rock server is configured with more than one country code then the picker will become visible for the user to select the country code to use with the phone number. If the entered country code and phone number match one of the formatting expressions in Rock then the phone number will be formatted according to those rules. Properties PropertyTypeDescription LabelstringThe label title to be used when wrapped in a control that displays a label for the field. IsRequiredboolIf True then any validation performed will require that a phone number be entered. CountryCodestringContains the selected country code, even if the picker is not visible. PhoneNumberstringContains the formatted phone number, not including the country code. Example <Rock:FieldContainer> <Rock:PhoneNumberBox Label="Rock Phone Number Box" IsRequired="false" CountryCode="1" PhoneNumber="(800) 555-1234" /> </Rock:FieldContainer> The example above includes the country code so you can see what it looks like. Most Rock installations will probably have only one country code so that picker will not be visible.