Class ContactPersonalDetailsModel
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing.UIPages
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Represents contact personal details form.
[FormCategory(Label = "{$digitalmarketing.contact.overview.generalcategory$}", Order = 0)]
[FormCategory(Label = "{$digitalmarketing.contact.overview.contactdetailscategory$}", Order = 8)]
[FormCategory(Label = "{$digitalmarketing.contact.overview.addresscategory$}", Order = 12)]
[FormCategory(Label = "{$digitalmarketing.contact.overview.notescategory$}", Order = 18)]
public class ContactPersonalDetailsModel
- Inheritance
-
objectContactPersonalDetailsModel
- Extension Methods
Constructors
ContactPersonalDetailsModel()
public ContactPersonalDetailsModel()
Properties
Address
Contact address.
[TextInputComponent(Label = "{$digitalmarketing.contact.address$}", Order = 13)]
[MaxLengthValidationRule(100)]
public string Address { get; set; }
Property Value
- string
Birthday
Contact birthday.
[DateInputComponent(Label = "{$digitalmarketing.contact.birthday$}", Order = 5)]
public DateTime? Birthday { get; set; }
Property Value
- DateTime?
BusinessPhone
Contact business phone.
[TextInputComponent(Label = "{$digitalmarketing.contact.businessphone$}", Order = 11)]
[MaxLengthValidationRule(26)]
public string BusinessPhone { get; set; }
Property Value
- string
City
Contact city.
[TextInputComponent(Label = "{$digitalmarketing.contact.city$}", Order = 14)]
[MaxLengthValidationRule(100)]
public string City { get; set; }
Property Value
- string
CompanyName
Contact company name.
[TextInputComponent(Label = "{$digitalmarketing.contact.companyname$}", Order = 7)]
[MaxLengthValidationRule(100)]
public string CompanyName { get; set; }
Property Value
- string
Country
Contact country.
[ObjectIdSelectorComponent("cms.country", Label = "{$digitalmarketing.contact.country$}", Order = 16)]
public IEnumerable<int> Country { get; set; }
Property Value
- IEnumerable<int>
Contact e-mail.
[TextInputComponent(Label = "{$digitalmarketing.contact.email$}", Order = 9)]
[EmailValidationRule]
[MaxLengthValidationRule(254)]
public string Email { get; set; }
Property Value
- string
FirstName
Contact first name.
[TextInputComponent(Label = "{$digitalmarketing.contact.firstname$}", Order = 1)]
[MaxLengthValidationRule(100)]
public string FirstName { get; set; }
Property Value
- string
Gender
Contact gender.
[RadioGroupComponent(Label = "{$digitalmarketing.contact.gender$}", Order = 4, Inline = true, Options = "0;{$digitalmarketing.contact.gender.unknown$}\r\n1;{$digitalmarketing.contact.gender.male$}\r\n2;{$digitalmarketing.contact.gender.female$}")]
public string Gender { get; set; }
Property Value
- string
JobTitle
Contact job title.
[TextInputComponent(Label = "{$digitalmarketing.contact.jobtitle$}", Order = 6)]
[MaxLengthValidationRule(50)]
public string JobTitle { get; set; }
Property Value
- string
LastName
Contact last name.
[TextInputComponent(Label = "{$digitalmarketing.contact.lastname$}", Order = 3)]
[MaxLengthValidationRule(100)]
public string LastName { get; set; }
Property Value
- string
MiddleName
Contact middle name.
[TextInputComponent(Label = "{$digitalmarketing.contact.middlename$}", Order = 2)]
[MaxLengthValidationRule(100)]
public string MiddleName { get; set; }
Property Value
- string
MobilePhone
Contact mobile phone.
[TextInputComponent(Label = "{$digitalmarketing.contact.mobilephone$}", Order = 10)]
[MaxLengthValidationRule(26)]
public string MobilePhone { get; set; }
Property Value
- string
Notes
Contact notes.
[RichTextEditorComponent(Label = "{$digitalmarketing.contact.notes$}", Order = 19, ConfigurationName = "Kentico.Administration.ContactNotes")]
public string Notes { get; set; }
Property Value
- string
State
Contact state.
[DropDownComponent(Label = "{$digitalmarketing.contact.state$}", Order = 17)]
[FormComponentConfiguration(typeof(StateConfigurator), "Country")]
public string State { get; set; }
Property Value
- string
ZIP
Contact ZIP code.
[TextInputComponent(Label = "{$digitalmarketing.contact.zip$}", Order = 15)]
[MaxLengthValidationRule(100)]
public string ZIP { get; set; }
Property Value
- string