This project is read-only.

SubSectionThreeContent DataBinding

Apr 22, 2009 at 3:31 AM
Mark do you have an example of databinding for the 

SubSectionThreeContent

section????


Aaron

Apr 28, 2009 at 9:48 AM
hi daw451

I have added some example code demonstrating how you can customise the section. If you have any further questions, please let us know.

Regards
Tom Chapman

<Microsoft_Cui_Controls:PatientBanner
       VerticalAlignment="Top"
       Background="White"
       Canvas.ZIndex="99"
       FontFamily="Arial"
                           FamilyName="CHANDRASEKHAR"
       GivenName="Subramanyan"
       Title="Mr"
       PreferredName="Chand"
       Gender="Male"
       DateOfBirth="12-02-2006"
                           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"    
       SubSectionThreeTitle="Other Information"
       SubSectionFourTitle="Considerations"
                           >
             <Microsoft_Cui_Controls:PatientBanner.SubSectionThreeContent>
        <Grid>
        <Grid.RowDefinitions>
         <RowDefinition Height="Auto" />
         <RowDefinition Height="Auto" />
         <RowDefinition Height="Auto" />
         <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
         <ColumnDefinition Width="Auto" MaxWidth="100" />
         <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <TextBlock Text="Ethnicity" FontStyle="Italic" Grid.Row="0" Grid.Column="0" />
        <TextBlock Text="Dispensing Patient" FontStyle="Italic"  Grid.Row="1" Grid.Column="0"/>
        <TextBlock Text="Patient Type" FontStyle="Italic"  Grid.Row="2" Grid.Column="0"/>
        <TextBlock Text="Current Clinician" FontStyle="Italic"  Grid.Row="3" Grid.Column="0"/>
        
        <TextBlock Text="Asian - British" FontWeight="Bold"  Grid.Row="0" Grid.Column="1"/>
        <TextBlock Text="Yes" FontWeight="Bold"  Grid.Row="1" Grid.Column="1"/>
        <TextBlock Text="Full NHS" FontWeight="Bold"  Grid.Row="2" Grid.Column="1"/>
        <TextBlock Text="Dr Clift" FontWeight="Bold"  Grid.Row="3" Grid.Column="1"/>
       </Grid>
    </Microsoft_Cui_Controls:PatientBanner.SubSectionThreeContent>
    <Microsoft_Cui_Controls:PatientBanner.SubSectionFourContent>
        <TextBlock Text="- Requires Hindi Interpreter" />
    </Microsoft_Cui_Controls:PatientBanner.SubSectionFourContent>
  </Microsoft_Cui_Controls:PatientBanner>