Version

GetUIElement(Boolean) Method

Returns the UIElement associated with the object, in the active scroll region.
Syntax
'Declaration
 
Public Overloads Function GetUIElement( _
   ByVal verifyElements As Boolean _
) As Infragistics.Win.UIElement
public Infragistics.Win.UIElement GetUIElement( 
   bool verifyElements
)

Parameters

verifyElements
Remarks

Invoke this method to return a reference to an object's UIElement. The reference can be used to set properties of, and invoke methods on, the UIElement object associated with an object. You can use this reference to access any of the UIElement's properties or methods.

The Type property can be used to determine what type of UIElement was returned. If no UIElement exists, meaning the object is not displayed, Nothing is returned.

The ParentUIElement property can be used to return a reference to a UIElement's parent UIElement object. The UIElements property can be used to return a reference to a collection of child UIElement objects for a UIElement.

The UIElementFromPoint method can be invoked to return a reference to a UIElement object residing at specific coordinates.

The CanResolveUIElement method can be invoked to determine whether an object or one of its ancestors can be resolved as a specific type of UIElement.

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