Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxAdornerTargetElement.GetControl Method

Provides access to the control that implements the target UI element.

#Declaration

Delphi
function GetControl: TWinControl;

#Returns

Type
TWinControl

#Remarks

Call this function to access the UI element that a UI adorner uses as a target. To access the target control’s type-specific members, cast the GetControl function result to the corresponding class. Call the GetControl.ClassName function to identify the target UI element’s actual class.

See Also