PersistChildrenAttribute::UsesCustomPersistence Property
Gets a value indicating whether the server control provides custom persistence of nested controls at design time.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue to provide custom persistence of nested content; otherwise, false. The default is false.
To configure nested content for custom persistence, use the PersistChildrenAttribute overload that takes a usesCustomPersistence parameter.
The following code example demonstrates how to get the value of the UsesCustomPersistence property.
This code example is part of a larger example provided for the PersistChildrenAttribute class.
Available since 2.0
PersistChildrenAttribute
PersistChildrenAttribute Class
System.Web.UI Namespace
Writing Your Own Controls
Implementing Custom Persistence