ControlDesigner.SetViewFlags Method
.NET Framework 3.0
Assigns the specified bitwise ViewFlags enumeration to the specified flag value.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
'Declaration Protected Sub SetViewFlags ( _ viewFlags As ViewFlags, _ setFlag As Boolean _ ) 'Usage Dim viewFlags As ViewFlags Dim setFlag As Boolean Me.SetViewFlags(viewFlags, setFlag)
protected void SetViewFlags ( ViewFlags viewFlags, boolean setFlag )
protected function SetViewFlags ( viewFlags : ViewFlags, setFlag : boolean )
Not applicable.
Parameters
- viewFlags
A 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 SetViewFlags method to set the DesignTimeHtmlRequiresLoadComplete value of the current ViewControl property for the control designer, instead of the obsolete DesignTimeHtmlRequiresLoadComplete property.
Community Additions
ADD
Show: