AdvancedFindViewModel..::..FindFieldInTree Method
Finds the field in tree.
Namespace:
RingSoft.DbMaintenanceAssembly: RingSoft.DbMaintenance (in RingSoft.DbMaintenance.dll)
Syntax
public TreeViewItem FindFieldInTree( ObservableCollection<TreeViewItem> items, FieldDefinition fieldDefinition, bool searchForRootFormula, TreeViewItem parentItem )
Public Function FindFieldInTree ( _ items As ObservableCollection(Of TreeViewItem), _ fieldDefinition As FieldDefinition, _ searchForRootFormula As Boolean, _ parentItem As TreeViewItem _ ) As TreeViewItem
public: TreeViewItem^ FindFieldInTree( ObservableCollection<TreeViewItem^>^ items, FieldDefinition^ fieldDefinition, bool^ searchForRootFormula, TreeViewItem^ parentItem )
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.