Address Control Touch
A control that allows an address to be entered and supports touch screen input.
Namespace: LSOne.Controls
Assembly: LSOne.Controls.DataControls
Syntax
public partial class AddressControlTouch : ContainerControl
Constructors
Name | Description |
---|---|
AddressControlTouch() | Default constructor |
Properties
Name | Description |
---|---|
ActiveTouchControl | Get the active control. |
AddressFormat | Get or set the address format of the control. |
AddressFormatChangeable | Get or set if the address format can be changed. |
AddressRecord | Get the address record. |
CurrentlySelectedMaxCharacters | Get the maximum text length of the active control. |
DataModel | Get or set the connection to the database. |
FocusedText | Get or set the text of the active control. |
IsDirty | Returns true if the control's data has changed. |
ReadOnly | Get or set if the control should be read only. |
States | Get or set a list of states. |
Methods
Name | Description |
---|---|
Clear() | Clear all text and selections from the control. |
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 |
---|---|
ActiveControlChanged | Occurs when the active control is changed. |
AddressFormatChanged | Occurs when the address format of the control changed. |
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. |
Examples
See Source\POS\Services\CentralSuspensionService\WinFormsTouch\frmAddress.cs from DevPack for usage examples.