[]
This method is called by the C1DynamicHelp control when you need to start monitor events or other occurrences to determine when the focus enters and leaves UI elements inside the custom control.
protected virtual bool ActivateUIElement(object uiElement)
Type | Name | Description |
---|---|---|
object | uiElement | A UI element for which monitoring should be started. |
Type | Description |
---|---|
bool | true, if the specified UI element was handled; otherwise false. |
Typically, in this overridden method you check if this uiElement needs to be handled by you (is not a Control object, so C1DynamicHelp cannot monitor its standard events Enter/Leave), in which case create some event handlers or otherwise get ready to determine when the focus enters/leaves the uiElement and at those moments call HandleUIElementEvent(object, UIElementEvents) to notify the C1DynamicHelp.