Class PhysicalAddressViewModel
Physical address viewmodel
Inheritance
Namespace: Simplic.PlugIn.SAC.Contact.UI
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class PhysicalAddressViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourcePhysicalAddressViewModel(ContactManager, ContactViewModel, PhysicalAddress)
Initialize new address
Declaration
public PhysicalAddressViewModel(ContactManager manager, ContactViewModel contact, PhysicalAddress physicalAddress)
Parameters
Type | Name | Description |
---|---|---|
ContactManager | manager | |
ContactViewModel | contact | |
PhysicalAddress | physicalAddress | Address instance |
Properties
| Improve this Doc View SourceAddEMailAddress
Gets or sets a command to write a new email
Declaration
public ICommand AddEMailAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Additional01
Gets or sets the additional01 text
Declaration
public string Additional01 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AddPhoneNumber
Gets or sets the phone number add command
Declaration
public ICommand AddPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddPOI
Gets or sets the command to add an poi
Declaration
public ICommand AddPOI { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddPoiFromClipboard
Gets or sets the command to add a poi from the clipboard content
Declaration
public ICommand AddPoiFromClipboard { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddPOIWithMap
Gets or sets the Command to add a poi with the map editor
Declaration
public ICommand AddPOIWithMap { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CalculateGeoCoordinates
Gets or sets whether to calculate geo coordinates or not
Declaration
public bool CalculateGeoCoordinates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
City
Gets or sets the address city
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompanyName
Gets or sets the company name
Declaration
public string CompanyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Country
Gets or sets the full country name
Declaration
public string Country { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Country_Iso
Gets or sets the iso code
Declaration
public string Country_Iso { get; set; }
Property Value
Type | Description |
---|---|
System.String |
District
Gets or sets the district
Declaration
public string District { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EMailAddresses
Gets all mail addresses
Declaration
public ObservableCollection<EMailAddressViewModel> EMailAddresses { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<EMailAddressViewModel> |
EMailAddressTypes
Gets or sets all available email addresses
Declaration
public ObservableCollection<EMailAddressType> EMailAddressTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<EMailAddressType> |
FederalStateId
Gets or sets the federal state id
Declaration
public Guid? FederalStateId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
FirstName
Gets or sets the first name
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GeoCoordinateStatus
Gets or sets the resolving status
Declaration
public int GeoCoordinateStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsEditable
Gets or sets whether the address and it's phone data are readonly
Declaration
public bool IsEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemsCtrlUpdated
Gets the source update event of the phonenr itemscontrol
Declaration
public ICommand ItemsCtrlUpdated { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Land
Gets or sets the local land (e.g. lower saxony)
Declaration
public string Land { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LanguageId
Gets or sets the language id
Declaration
public int LanguageId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LastName
Gets or sets the last name
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Latitude
Gets or sets the location latitude
Declaration
public double Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LetterSalutation
Gets or sets the salutation text
Declaration
public string LetterSalutation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Lockbox
Gets or sets the lockbox number (Postfach)
Declaration
public string Lockbox { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LockBox_ZipCode
Gets or sets the lockbox zipcode (Postfach)
Declaration
public string LockBox_ZipCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Longitude
Gets or sets the location longitude
Declaration
public double Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Model
Gets the physical address model
Declaration
public PhysicalAddress Model { get; }
Property Value
Type | Description |
---|---|
PhysicalAddress |
OpenPOIEditor
Gets or sets the command to edit an poi
Declaration
public ICommand OpenPOIEditor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
PhoneNumbers
Gets all phone numbers
Declaration
public ObservableCollection<PhoneNumberViewModel> PhoneNumbers { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<PhoneNumberViewModel> |
PhoneNumberTypes
Gets or sets all available phone number types
Declaration
public ObservableCollection<PhoneNumberType> PhoneNumberTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<PhoneNumberType> |
PhysicalAddressKeyId
Gets or sets the type of the address
Declaration
public int PhysicalAddressKeyId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
POIs
Gets the list of pois
Declaration
public ObservableCollection<PhysicalAddressPOIViewModel> POIs { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<PhysicalAddressPOIViewModel> |
RemoveEMailAddress
Gets or sets a command to remove a mail address
Declaration
public ICommand RemoveEMailAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RemovePhoneNumber
Gets or sets the Phone-Number remove command
Declaration
public ICommand RemovePhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RemovePOI
Gets or sets the command to remove an poi
Declaration
public ICommand RemovePOI { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Salutation
Gets or sets the salutation text
Declaration
public string Salutation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SelectedEMailAddress
Gets or sets the selected mail address
Declaration
public EMailAddressViewModel SelectedEMailAddress { get; set; }
Property Value
Type | Description |
---|---|
EMailAddressViewModel |
SelectedEMailAddressType
Gets or sets the currently selected mail address
Declaration
public EMailAddressType SelectedEMailAddressType { get; set; }
Property Value
Type | Description |
---|---|
EMailAddressType |
SelectedPhoneNumberType
Gets or sets the currently selected mail address
Declaration
public PhoneNumberType SelectedPhoneNumberType { get; set; }
Property Value
Type | Description |
---|---|
PhoneNumberType |
SelectedPOI
Gets or sets the currently selected poi
Declaration
public PhysicalAddressPOIViewModel SelectedPOI { get; set; }
Property Value
Type | Description |
---|---|
PhysicalAddressPOIViewModel |
Street
Gets or sets the street name
Declaration
public string Street { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets the person title
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Zipcode
Gets or sets the Zipcode
Declaration
public string Zipcode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEnsurePOIs()
Ensure that the poi system is loaded
Declaration
public void EnsurePOIs()