Address
Inherits from FieldStack
This view provides a field that allows the user to enter an address, or display an address to be updated. Because it has to account for international addresses very little validation is performed.
Properties
Property | Type | Description |
Label | string | The title for this input field. |
IsRequired | bool | If set to true then the user will need to enter a value. |
SelectedAddress | MobileAddress | Contains the address as entered by the user. Valid child properties are: Street1, City, State, PostalCode, Country. |
The Address field is one of the few fields that should not be displayed in a FieldContainer that is forced into grouped mode. It is itself a grouped view so if you try to embed it inside another grouped view then you end up with double padding and double borders.
Example
If you need to provide a default address to be displayed when the view is rendered, you can do so as follows:
Last updated