System.Web.UI.Design.ControlDesigner.SetViewFlags Method

Assigns the specified bitwise System.Web.UI.Design.ViewFlags enumeration to the specified flag value.

Syntax

protected void SetViewFlags (ViewFlags viewFlags, bool setFlag)

Parameters

viewFlags
A System.Web.UI.Design.ViewFlags value.
setFlag
true to set the flag, false to remove the flag.

Remarks

There are several flags that can be set. For example, use the ControlDesigner.SetViewFlags(ViewFlags, bool) method to set the ViewFlags.DesignTimeHtmlRequiresLoadComplete value of the current ControlDesigner.ViewControl property for the control designer, instead of the obsolete ControlDesigner.DesignTimeHtmlRequiresLoadComplete property.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0