ShellResultView class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:37

Description

Defines the results display.

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

StyleThe style format
Grid.RowIn which row of the NavTab <Grid.RowDefinitions it should appear.
NameThe name, as listed in the <l:SearchCriteria lines of the ShellData.ShellData section, and referenced also in the  SearchCriteriaTarget statement.
DirectoryStyleNameThe 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}}"

/>

hmtoggle_plus1All occurrences of <l:ShellResultView

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.