The PatientBanner control is initialized with the following code:
<sl:PatientBanner Grid.Row="1" Grid.Column="1"
FamilyName="Evans" GivenName="Jonathan" Title="Mr" Gender="Male"
DateOfBirth="12-02-2006" PreferredName="Jon"
Identifier="606 172 4098" IdentifierType="NhsNumber"
Address1="98 Andover Place" County="Berkshire" Postcode="RG3 5AP" Town="Reading"
HomePhoneNumber="(0118) 496 0337" MobilePhoneNumber="(07700) 900555"
WorkPhoneNumber="(0118) 496 0338"
EmailAddress="jane.evans@abc.xyz"
AllergyInformation="Present"
NameClick="PatientBanner_NameClick"
PreferredNameClick="PatientBanner_PreferredNameClick"
PreferredNameLabelClick="PatientBanner_PreferredNameLabelClick"
IdentifierClick="PatientBanner_IdentifierClick"
IdentifierLabelClick="PatientBanner_IdentifierLabelClick"
DateOfBirthClick="PatientBanner_DateOfBirthClick"
DateOfBirthLabelClick="PatientBanner_DateOfBirthLabelClick"
DateOfDeathClick="PatientBanner_DateOfDeathClick"
DateOfDeathLabelClick="PatientBanner_DateOfDeathLabelClick"
GenderClick="PatientBanner_GenderClick"
GenderLabelClick="PatientBanner_GenderLabelClick"
AgeAtDeathClick="PatientBanner_AgeAtDeathClick"
AgeAtDeathLabelClick="PatientBanner_AgeAtDeathLabelClick"
ViewAllAddressesClick="PatientBanner_ViewAllAddressesClick"
ViewAllergyRecordClick="PatientBanner_ViewAllergyRecordClick"
ViewContactDetailsClick="PatientBanner_ViewContactDetailsClick"
>
<sl:PatientBanner.Allergies>
<sl:Allergy AllergyName="Dust" LastUpdatedOn="01-07-2007" />
<sl:Allergy AllergyName="Smoke" LastUpdatedOn="10-06-2007" />
<sl:Allergy AllergyName="Perfume" LastUpdatedOn="14-06-2006" />
<sl:Allergy AllergyName="Latex" LastUpdatedOn="21-06-2006" />
<sl:Allergy AllergyName="Peanuts" LastUpdatedOn="06-01-2007" />
<sl:Allergy AllergyName="Hay" LastUpdatedOn="06-03-2007" />
</sl:PatientBanner.Allergies>
</sl:PatientBanner>
See individual controls for information about the properties associated with the
elements contained in the PatientBanner; only the properties associated with the
PatientBanner as a control are listed below. These have been categorized into:
 
Patient Details Properties
- AddressTypeLabelText – gets or sets the caption associated
with the patient's address label
- AgeAtDeathLabelText – gets or sets the caption associated
with the patient's age at death
- AgeAtDeathLabelTooltip – gets or sets the tooltip for age at death label.
- AgeAtDeathTooltip – gets or sets the tooltip for age at death value
- Allergies – gets or sets the patient's allergies
- AllergyInformation – gets or sets information about the patient's
allergies
- DateofBirth – gets or sets the patient's date of birth
- DateofBirthLabelText – gets or sets the caption associated
with the patient's date of birth
- DateOfBirthLabelToolTip – gets or sets the tooltip for date of birth label
- DateOfBirthToolTip – gets or sets the tooltip for date of birth
- DateofDeath – gets or sets the patient's date of death
- DateofDeathLabelText – gets or sets the caption associated
with the patient's date of death
- DateOfDeathLabelToolTip – gets or sets the tooltip for date of death label
- DateOfDeathToolTip – gets or sets the tooltip for date of death
- Gender – gets or sets the value of the patient's gender
- GenderLabelText – gets or sets the caption associated with
the Gender field
- GenderLabelTooltip – gets or sets the tooltip for the Gender
label
- GenderValueTooltip – gets or sets the tooltip for the
patient's gender
- Identifier – gets or sets the patient's unique identifier
- IdentifierLabelText – gets or sets the caption associated
with the patient's unique identifier or patient identification number
- IdentifierLabelTooltip – gets or sets the tooltip for the
Identifier label
- IdentifierTooltip – gets or sets the tooltip for the patient's
identifier
- NameDisplayValue
– gets the complete patient name as displayed
- PatientNameTooltip – gets or sets the tooltip for patient name
- PreferredName – gets or sets the patient's preferred name
- PreferredNameLabelText – gets or sets the caption associated
with the patient's preferred name
- PreferredNameTooltip – gets or sets the tooltip for preferred name
- PreferredNameLabelTooltip – gets or sets the tooltip for preferred name label
 
Style Properties
- PatientNameFont – gets or sets the font styles to be applied for PatientName
- PatientNameHoverFont – gets or sets the font styles to be applied for patient name on hover
- SubsectionOneWidth – gets or sets the width for Subsection
One of the Patient Banner
- SubsectionTwoWidth – gets or sets the width for Subsection
Two of the Patient Banner
- SubsectionThreeWidth – gets or sets the width for Subsection
Three of the Patient Banner
- SubsectionFourWidth – gets or sets the width for Subsection
Four of the Patient Banner
- SubsectionFiveWidth – gets or sets the width for Subsection
Five of the Patient Banner
- SubsectionOneTitle – gets or sets the caption associated
with Subsection One
- SubsectionTwoTitle – gets or sets the caption associated
with Subsection Two
- SubsectionThreeTitle – gets or sets the caption associated
with Subsection Three
- SubsectionFourTitle – gets or sets the caption associated
with Subsection Four
- ViewAllAddressLinkText – the text associated with the View
All Addresses link of the Patient Banner
- ViewAllContactDetailsLinkText – the text associated with
the View All Contact Details link of the Patient Banner
- ViewAllergyRecordLinkText – the text associated with the
View Allergy Record link of the Patient Banner
- ZoneOneLabelFont – gets or sets the font styles for Zone
One labels
- ZoneOneDataFont – gets or sets the font styles for Zone One
data, apart from the patient's name
- ZoneOneDataHoverFont – gets or sets the font styles applied
to Zone One data on mouse hover
- ZoneOneLabelHoverFont – gets or sets the font styles applied
to Zone One labels on mouse hover
- ZoneTwoTitleDataFont – gets or sets the font styles for the
data elements in Zone Two title area
- ZoneTwoTitleLabelFont – gets or sets the font styles for
the data elements in Zone Two of the Patient Banner
- ZoneTwoLabelFont – gets or sets the font styles for labels
in Zone Two
- ZoneTwoDataFont – gets or sets the font styles for data in
Zone Two
- ZoneTwoExpanded – gets or sets the expanded state of Zone
Two
- ZoneOneBackColor – gets or sets the background color that will be applied to Zone One
- ZoneTwoBackColor – gets or sets the background color that will be applied to Zone Two
 
Appearance Properties
- AllergiesNotPresentIcon – gets or sets the URL of icon to indicate allergy is not present
- AllergiesPresentIcon – gets or sets the URL of icon to indicate allergy is present
- AllergiesUnavailableIcon – gets or sets the URL of icon to indicate allergy information is unavailable
- BorderType – gets or sets the style of the border
- BorderWidth – gets or sets the border width
- CollapseImage – gets or sets the URL for the Patient Banner
drop-down button to be used when Zone Two is expanded
- DropDownImage – gets or sets the URL for the Patient Banner
drop-down image
- PatientImage – gets or sets the URL for the patient's image
in the Patient Banner
- PatientImageDisplayed – gets or sets a value indicating whether the patient image is displayed or not
- ZoneTwoToolTip – gets or sets the value to be displayed in
the tooltip for Zone Two
- ZoneOneMinHeight – gets or sets the minimum height for Zone One