views:

436

answers:

2

Hello,

How can I override a UserControl Visible property ? Or how could I determine within a control when it changes its Visible state ?

Later edit: I need it to work in .NET CF 3.5.

Thanks.

A: 

Try to subscribe to the IsVisibleChanged event

Carra
It looks to me this is not supported in the CF version.
thelost
+6  A: 

I finally fixed the issue by adding a new Visible property which is setting the base.Visible property and does my custom work.

thelost
That's that way to do it. Accept your answer :-)
Cory Charlton