Assigns the specified bitwise System.Web.UI.Design.ViewFlags enumeration to the specified flag value.
- viewFlags
- A System.Web.UI.Design.ViewFlags value.
- setFlag
- true to set the flag, false to remove the flag.
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.