Imports Infragistics.Win Private Function IsRowUIElementChild(ByVal rowElement As UltraWinGrid.RowUIElement, ByVal element As UIElement) As Boolean ' Checks to see if element is a child of rowElement If element.HasAncestor(rowElement) Then Return True Else Return False End If End Function
using Infragistics.Win; private bool IsRowUIElementChild(UltraWinGrid.RowUIElement rowElement, UIElement element) { // Checks to see if element is a child of rowElement if(element.HasAncestor(rowElement)) return true; else return false; }