Class ShouldSerializeBasedPersisterType
If the static DesignerPersistance.IsPersisting property gets set, then deriving from this type will do the following:
It will return a custom property descriptor for the properties it contains that will return property values
after checking the ShouldSerializeXXX impl. This is useful while serializing web pages in the designer - as the
web designer doesn't check for ShouldSerializeXXX, by default.
Inheritance
System.Object
ShouldSerializeBasedPersisterType
Implements
System.ComponentModel.ICustomTypeDescriptor
Assembly: Syncfusion.Shared.Base.dll
Syntax
public abstract class ShouldSerializeBasedPersisterType : Object, ICustomTypeDescriptor
Constructors
ShouldSerializeBasedPersisterType()
Declaration
public ShouldSerializeBasedPersisterType()
Properties
CheckAllProperties
Declaration
public virtual bool CheckAllProperties { get; }
Property Value
Methods
AddNewAttributes(PropertyDescriptor, ref Attribute[], Int32)
Declaration
protected virtual void AddNewAttributes(PropertyDescriptor curPD, ref Attribute[] atts, int startIndex)
Parameters
| Type |
Name |
Description |
| System.ComponentModel.PropertyDescriptor |
curPD |
|
| System.Attribute[] |
atts |
|
| System.Int32 |
startIndex |
|
GetCustomPDC(PropertyDescriptorCollection)
Declaration
protected virtual PropertyDescriptorCollection GetCustomPDC(PropertyDescriptorCollection baseprops)
Parameters
| Type |
Name |
Description |
| System.ComponentModel.PropertyDescriptorCollection |
baseprops |
|
Returns
| Type |
| System.ComponentModel.PropertyDescriptorCollection |
GetNewAttributesCount(PropertyDescriptor)
Declaration
protected virtual int GetNewAttributesCount(PropertyDescriptor curPD)
Parameters
| Type |
Name |
Description |
| System.ComponentModel.PropertyDescriptor |
curPD |
|
Returns
Implements
System.ComponentModel.ICustomTypeDescriptor