PropertyManagerControl cast

I need to declare the variable public IPropertyManagerPageCheckbox bbPart;

In order to access the Checked property. But i would also need to set the Visible property which is a member of IPropertyManagerPageControl.

But i cannot cast between the two.

Aren't the methods and properties of IPropertyManagerPageControl supposed to be "A set of methods and properties common to all controls" ?

How can I do this?

Thank you,

Diogo Borges

SolidworksApi macros