ControlDesigner.HidePropertiesInTemplateMode Property

Definition

Gets a value indicating whether the properties of the associated control are hidden when the control is in template mode.

protected public:
 virtual property bool HidePropertiesInTemplateMode { bool get(); };
protected internal virtual bool HidePropertiesInTemplateMode { get; }
member this.HidePropertiesInTemplateMode : bool
Protected Friend Overridable ReadOnly Property HidePropertiesInTemplateMode As Boolean

Property Value

true, if the properties of the associated control are hidden when the control is in template mode; otherwise, false. The default is true.

Remarks

The ID property is never hidden. The PreFilterProperties method uses the HidePropertiesInTemplateMode property to determine whether properties, other than the ID property, should be hidden from the property grids while the control is in template editing mode.

Applies to

See also