Dear all,
I've looked around to find an elegant solution to my problem, but not with a log of success... [sigh]
I would like to prevent a control (custom label, custom button,...) from being rendered (drawn, painted.. ?) based on a condition (actually, a database linked security check)
but not by using the visibility or opacity properties as I would like to keep these properties freely usable by the users of the control in design mode.
I tried to override OnRender, passing a null drawingContext etc. but it doesn't work.
Does anyone have an idea how to do this ?
Thanks all!