Is there a mechanism to read the value that is SET to the visible property of a control?
ChildControl1.Visible = true;
ChildControl2.Visible = false;
ParentControl.Visible = false;
bool childControl1Visible = ChildControl1.Visible
bool childControl2Visible = ChildControl2.Visible
In the example above, both childControl1Visible and childControl2Visible will return false as neither will be rendered due to the visibility of ParentControl.
I'm looking for a way to determine if a child control has itself been set to visible true/false regardless of the value set on any parent controls.