AdvancedFindTree..::..FindFieldInTree Method
Finds the field in tree.
Namespace:
RingSoft.DbLookup.AdvancedFindAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public TreeViewItem FindFieldInTree( ObservableCollection<TreeViewItem> items, FieldDefinition fieldDefinition, bool searchForRootFormula, TreeViewItem parentItem, bool searchSubs )
Public Function FindFieldInTree ( _ items As ObservableCollection(Of TreeViewItem), _ fieldDefinition As FieldDefinition, _ searchForRootFormula As Boolean, _ parentItem As TreeViewItem, _ searchSubs As Boolean _ ) As TreeViewItem
public: TreeViewItem^ FindFieldInTree( ObservableCollection<TreeViewItem^>^ items, FieldDefinition^ fieldDefinition, bool^ searchForRootFormula, TreeViewItem^ parentItem, bool^ searchSubs )
Parameters
- items
- Type: ObservableCollection<(Of <(<'TreeViewItem>)>)>
The items.
- fieldDefinition
- Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The field definition.
- searchForRootFormula
- Type: Boolean
if set to true [search for root formula].
- parentItem
- Type: RingSoft.DbLookup.AdvancedFind..::..TreeViewItem
The parent item.
- searchSubs
- Type: Boolean
if set to true [search subs].