menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ShouldSerializeBasedPersisterType - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    DescriptorBase
    StyleInfoBase
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Design
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public abstract class ShouldSerializeBasedPersisterType : ICustomTypeDescriptor

    Constructors

    ShouldSerializeBasedPersisterType()

    Declaration
    public ShouldSerializeBasedPersisterType()

    Properties

    CheckAllProperties

    Declaration
    public virtual bool CheckAllProperties { get; }
    Property Value
    Type
    System.Boolean

    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
    Type
    System.Int32

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    Back to top Generated by DocFX
    OSZAR »
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved
    OSZAR »