The info panel popup section defines the fields and the layout of the tooltip panel on the given main tab which is displayed when you hover over an item in the listing.
Create the info panel popup section in the xxx_Config.xml file (where xxx may be Ted4, Fred4, Shell4 or Edadmin4), the same file you were editing in the step Creating a base query section in xxx_Config.xml file.
The text in blue is free text, but referenced elsewhere, which means you can follow our indications, or specify what you want, but be coherent, while the text in red is related to specific tab, and it has to be customized to keep the naming coherent.
In this example, we're showing the infopanel for the contact object.
<InfoPanel Name="InfoPopup.Contact" ObjectTypeName="contact"> <DataTemplate> <Grid HorizontalAlignment="Stretch" MaxWidth="400" > <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <TextBlock TextWrapping="Wrap" Style="{StaticResource ShellInfoHeaderStyle}" Text="{Binding Path=[contact.lastName]}" Grid.Row="0" Grid.Column="0"/> <TextBlock TextWrapping="Wrap" Text="{Binding Path=[contact.firstName]}" Grid.Row="1" Grid.Column="0" Margin="4,4,4,4"/> <StackPanel Orientation="Horizontal" Grid.Row="2"> <TextBlock Text="City:" Margin="4,0,0,0"/> <TextBlock Text="{Binding Path=[contact.busCity]}" Margin="4,0,12,0"/> <TextBlock Text="Home:" Margin="4,0,0,0"/> <TextBlock Margin="4,0,0,4" Text="{Binding Path=[contact.homeCity]}"/> </StackPanel> </Grid> </DataTemplate> </InfoPanel> |
See also
Creating a main tab edit panel section in xxx_Config.xml file