[]
        
(Showing Draft Content)

C1.Win.C1DynamicHelp.UIElementResolver.GetUIElementInfo

GetUIElementInfo Method

GetUIElementInfo(object)

This method returns a UIElementInfo object containing the name and parent of the UI element.

Declaration
protected virtual UIElementInfo GetUIElementInfo(object uiElement)
Parameters
Type Name Description
object uiElement

A UI element for which the UIElementInfo object is requested.

Returns
Type Description
UIElementInfo

A UIElementInfo object containing information for the uiElement

Remarks

Typically, in this overridden method you check if this uiElement needs to be handled by you (is not a Control object, so C1DynamicHelp cannot get this information automatically), in which case create an UIElementInfo object, set its properties and return that object, otherwise simply call the method of the base class UIElementResolver: base.GetUIElementInfo(uiElement).