| Visual Basic (Declaration) | |
|---|---|
Protected parentElement As UIElement | |
| C# | |
|---|---|
protected UIElement parentElement | |
This code prints the UIElement heirarchy from the passed in point. Exemplifies use of the Parent property, and the method ElementFromPoint. (note: ultraProgressBar1 should be replaced by the variable representing the control you are hit testing on.)
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; | |
