Address Control

A control that allows an address to be entered.

Namespace: LSOne.Controls

Assembly: LSOne.Controls.DataControls

Syntax

public partial class AddressControl : ContainerControl

 

Constructors

Name Description
AddressControl() Default constructor

 

Properties

Name Description
AddressFormat Get or set the address format of the control.
AddressRecord Get the address record.
DataModel Get or set the connection to the database.
IsDirty Returns true if the control's data has changed.
ReadOnly Get or set if the control should be read only.

 

Methods

Name Description
GetAddressIntoField(Address address) Populates an Address object with the values from the name control.
SetData(IConnectionManager dataModel, Address record) Set the address data of the control.
SetLabelText(string text) Set the address label text.

 

Events

Name Description
ValueChanged Occurs when the value of the control changes.
RequestCountries Occurs when the contries control requests data to be populated before opening the drop down.
RequestStates Occurs when the states control requests data to be populated before opening the drop down.

 

See also

 

Inserted: June 2017
Version: LS One 2017.1

 

Examples

 

See Source\SM\Plugins\Customer\Dialogs\CustomerAddressDialog.Designer.cs from DevPack for usage examples.

 

See also