Full Name Control

A control that allows a full name to be entered.

Namespace: LSOne.Controls

Assembly: LSOne.Controls.DataControls

Syntax

public partial class FullNameControl : ContainerControl

 

Constructors

Name Description
FullNameControl() Default constructor

 

Properties

Name

Description

Alias Get or set the alias.
AlternateNameLabel Get or set an alternate name label value.
BoldFacedLabels Get or set if the labels should be bold.
FirstName Get or set first name.
HideLabel Get or set the labels should be hidden.
IsEmpty Returns true if the control is empty.
LastName Get or set last name.
LastNameFirst Get or set if the last name should be displayed first.
MiddleName Get or set the middle name.
NameRecord Get or set the full name. Uses the Name object.
Prefix Get or set the prefix.
ReadOnly Get or set if the control is read only.
ShowAlias Get or set if the alias should be visible.
Suffix Get or set the suffix.

 

Methods

Name Description
GetNameIntoRecord(Name name) Populates a Name object with the values from the name control.
PopulateNamePrefixes(List<string> prefixes) Populates the prefix drop down with a list of prefixes.

 

Events

Name Description
ValueChanged Occurs when the value of the control changes.

 

Examples

 

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

 

See also