WebPartManagerInternals.SetIsStatic Method
Sets the IsStatic property of a WebPart control or the IsStatic property of a WebPartConnection object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SetIsStatic(WebPart, Boolean) | Sets the IsStatic property of a WebPart control. |
|
SetIsStatic(WebPartConnection, Boolean) | Sets the IsStatic property of a WebPartConnection object. |
The SetIsStatic method calls a method in a base class to set a property that indicates whether a particular instance of a control is static. In the Web Parts control set, a static control is a control that is declared in the markup of a Web page. This is in contrast to a dynamic control, which is either added to a page programmatically, or added by a user from a catalog of controls. A static control is inherently a shared control, meaning that it is visible to all users of a page, and although users can close a static control, they can never delete (permanently remove) it.
Note
|
|---|
|
For more on personalization, static versus dynamic controls, and shared versus per-user controls, see Web Parts Personalization Overview. |