I have two properties in a custom control, SizeLimit(boolean) and SizeLimitSize(integer).

I need to know how to disable the property SizeLimitSize if SizeLimit is False and Activate it if SizeLimit=true.

Thanks,
Bebandit