RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

AdvancedFindViewModel..::..FindFieldInTree Method

Finds the field in tree.

Namespace:  RingSoft.DbMaintenance
Assembly:  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.

Return Value

TreeViewItem.