Share via


How to: Hide Properties That Have Child Properties

You would want to hide properties that have child properties:

  • If you have nested projects where the parent project programmatically controls some aspects of the child project.

  • If you use a control with a specialized designer and you do not want to give developers full access to all the properties of the control.

  • If you have scope ownership of an object and want to limit the view of properties.

Policy files provide this function and allow you to hide properties globally to give developers either a simplified view of an object, or to hide properties of an object so that they cannot be changed. For more information, see Authoring Policy Files in Policy Description Language.

To hide properties that have child properties

  1. Set the pfDisplay parameter in DisplayChildProperties to FALSE.

  2. Set the pfHide parameter in HideProperty to TRUE.

See Also

Concepts

Properties Display Grid