[]
        
(Showing Draft Content)

C1.Win.C1DynamicHelp.UIElementResolver.FindUIElement

FindUIElement Method

FindUIElement(object, string)

Searches for a UI element by its Name property.

Declaration
protected virtual object FindUIElement(object parent, string name)
Parameters
Type Name Description
object parent

The object containing the UI elements.

string name

The name of a UI element to locate in the parent.

Returns
Type Description
object

A child UI element with the specified name.

Remarks

Typically, in this overridden method you check if the parent type needs this special handling, and if it does not (if its children are Control objects, so they can be found automatically by C1DynamicHelp), simply call the method of the base class UIElementResolver: base.FindUIElement(parent, name).