Description
Defines the results display.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
Style | The style format |
Grid.Row | In which row of the NavTab <Grid.RowDefinitions it should appear. |
Name | The name, as listed in the <l:SearchCriteria lines of the ShellData.ShellData section, and referenced also in the SearchCriteriaTarget statement. |
DirectoryStyleName | The default directory style name. Directory styles are defined in the related base query in the xxx_Config.xml file. See below the paragraph "Locating directory styles from this position" in Notes. |
l:DragDropHelper.IsDragSource, l:DragDropHelper.IsDropTarget: |
How results react on drag and drop - is it enabled as source/target, or not. Note: some navigators do not work as drop target although you enable it here. |
LeftDoubleClickCommandParameter: | The add-in script name, to run when you double-click an item in the navigator results. |
RightMouseClickCommandParameter: | The add-in script name, to run when you right-click a selection in the navigator results. |
l:ShellData.IsRegistered: | Registration data. |
SearchCriteriaSource: | The connection between results and search criteria, that produces results, through l:ShellData.ShellData).SearchCriteria[ArticleSearch]. |
SearchCriteriaTarget: | The connection between results and search criteria, that produces results. |
Example
<l:ShellResultView
Style="{DynamicResource ShellResultView}"
Grid.Row="1"
Name="ArticleResultView"
DirectoryStyleName="List"
l:DragDropHelper.IsDragSource="true"
l:DragDropHelper.IsDropTarget="true"
LeftDoubleClickCommandParameter="OpenDesigner"
RightMouseClickCommandParameter="ShowArticleNavigatorPopup"
l:ShellData.IsRegistered="True"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleSearch], RelativeSource={RelativeSource Self}}"
SearchCriteriaTarget="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleResultView], RelativeSource={RelativeSource Self}}"
/>
<l:ShellResultView Grid.Row="0" <l:ShellResultView Grid.Row="0" Name="ClipboardResultView" DirectoryStyleName="List" <l:ShellResultView Grid.Row="0" Name="ImageResultView" DirectoryStyleName="List" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Grid.Row="0" Name="ImageResultView" DirectoryStyleName="List" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Grid.Row="1" Name="ResultView" DirectoryStyleName="List" l:DragDropHelper.IsDragSource="true" <l:ShellResultView Grid.Row="1" Name="TxtResultView" DirectoryStyleName="List" l:DragDropHelper.IsDragSource="true" LeftDoubleClickCommandParameter="OpenDesigner" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ArticleResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="AssetResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="LibResultView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="MasterResultView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="EditionView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="PageResultView" l:DragDropHelper.IsDragSource="true" l:ShellData.IsRegistered="True" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="0" SpikedHandling="Only" Name="ResultView" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ArticleResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="AssetResultView" DirectoryStyleName="List" <l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="0"
|
Locating related directory styles from this position
To locate directory styles that are displayed by <l:ShellResultView control, first identify the search criteria name SearchCriteriaSource="{BindingPath=...[ArticleSearch] within the definition of the <l:ShellResultView control. Then, scroll up to the first ShellData.ShellData section, and look there in the <l:SearchCriteria lines to find Name="ArticleSearch". In the same line, locate the base query name (value of the BaseQueryName="..."). With the value, search the xxx_Config.xml to locate the base query section. It contains the directory styles.