menu

WinForms

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

    Show / Hide Table of Contents

    Class AttributesAddingPropertyDescriptor

    A dummy PropertyDescriptor that could be used to add custom attributes dynamically.

    Inheritance
    System.Object
    AttributesAddingPropertyDescriptor
    Namespace: Syncfusion.Windows.Forms.Design
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class AttributesAddingPropertyDescriptor : PropertyDescriptor

    Constructors

    AttributesAddingPropertyDescriptor(PropertyDescriptor, Attribute[])

    Declaration
    public AttributesAddingPropertyDescriptor(PropertyDescriptor originalDescriptor, Attribute[] atts)
    Parameters
    Type Name Description
    System.ComponentModel.PropertyDescriptor originalDescriptor
    System.Attribute[] atts

    Properties

    ComponentType

    Declaration
    public override Type ComponentType { get; }
    Property Value
    Type
    System.Type

    IsReadOnly

    Declaration
    public override bool IsReadOnly { get; }
    Property Value
    Type
    System.Boolean

    PropertyType

    Declaration
    public override Type PropertyType { get; }
    Property Value
    Type
    System.Type

    Methods

    CanResetValue(Object)

    Declaration
    public override bool CanResetValue(object component)
    Parameters
    Type Name Description
    System.Object component
    Returns
    Type
    System.Boolean

    GetValue(Object)

    Declaration
    public override object GetValue(object component)
    Parameters
    Type Name Description
    System.Object component
    Returns
    Type
    System.Object

    ResetValue(Object)

    Declaration
    public override void ResetValue(object component)
    Parameters
    Type Name Description
    System.Object component

    SetValue(Object, Object)

    Declaration
    public override void SetValue(object component, object value)
    Parameters
    Type Name Description
    System.Object component
    System.Object value

    ShouldSerializeValue(Object)

    Declaration
    public override bool ShouldSerializeValue(object component)
    Parameters
    Type Name Description
    System.Object component
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved