Version

GetUIElement(RowScrollRegion,ColScrollRegion,Boolean) Method

Returns the UIElement object that is associated with an object.
Syntax
'Declaration
 
Public Overloads Overrides Function GetUIElement( _
   ByVal rsr As RowScrollRegion, _
   ByVal csr As ColScrollRegion, _
   ByVal verifyElements As Boolean _
) As Infragistics.Win.UIElement
public override Infragistics.Win.UIElement GetUIElement( 
   RowScrollRegion rsr,
   ColScrollRegion csr,
   bool verifyElements
)

Parameters

rsr
The RowScrollRegion
csr
The ColScrollRegion
verifyElements
Indicates whether to VerifyChildElements

Return Value

The UIElement associated with the object, in the specified row and column scrolling regions.
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 an 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.

The GetUIElement method does not take into account the presence of a pop-up edit window or the drop-down portion of a combo if these elements are present, and will never return a UIElement that corresponds to one of these elements. The GetUIElementPopup method can be invoked to return a reference to a popup window's 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