cancel
Showing results for 
Search instead for 
Did you mean: 

Disable or hide for multiple bound properties in a PCF (composite control)

A PCF can have more than one bound property.

For the first one, it is possible to detect in the context.mode if it's disabled or hidden.

But for the rest of the properties, there is no good way to provide such information (at design and runtime).

Defining for each property another 2 ones (for disabled and for hidden), will lead to too many dummy attributes on the form (for model driven apps). Both for model-driven and canvas PCFs, this would lead to a big number of properties. This would be hard to handle by the app maker.
Can you please provide a way to disable or hide properties in a composite control.
@HemantG Is there a recommended way to achieve this purpose?

Status: New