My usercontrol inherits System.Windows.Forms.Control class. The following link describes the "Visible" property of control
Control.Visible
As per the above link, if control is present in inactive tab, then Control.Visible will return false even though we did not set it programmatically
Question: How do I identify whether visibility was disabled by user or other controls?
Note:
I tried overriding the Visible property of Contorl but it's not overridable.
Explanation
If my control is present in unselected tab, then Control.Visible returns false. If the user wants to draw the control (export) in a Bitmap or something else, I need to determine the visibility of child controls too. Since my control is not visible, there is no reliable way available to determine the visibility of child controls