Version

rectValue Field

The rect of this elements in client coordinates of the control
Syntax
'Declaration
 
Protected rectValue As Rectangle
protected Rectangle rectValue
Example
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.)

Imports Infragistics.Win
Imports System.Diagnostics

  	Private Sub PrintElementsFromPoint(ByVal p As Point)

      Dim element As UIElement = Me.ultraProgressBar1.UIElement.ElementFromPoint(p)

      While (Not element Is Nothing)
          Debug.WriteLine(element.GetType().ToString())
          Debug.Indent()
          element = element.Parent
      End While

      Debug.IndentLevel = 0

  	End Sub
using Infragistics.Win;
using System.Diagnostics;

private void PrintElementsFromPoint(Point p)
{

	UIElement element = this.ultraProgressBar1.UIElement.ElementFromPoint(p);

	while(null != element)
	{
		Debug.WriteLine(element.GetType().ToString());
		Debug.Indent();
		element = element.Parent;
	}

	Debug.IndentLevel = 0;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also