menu

WinForms

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

    Show / Hide Table of Contents

    Class DataTableColumnPropertyDescriptor

    Represents the class that provides a custom PropertyDescriptor that is used within a DataTableWrapperList to access a DataColumn.

    Inheritance
    System.Object
    DataTableColumnPropertyDescriptor
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class DataTableColumnPropertyDescriptor : PropertyDescriptor

    Constructors

    DataTableColumnPropertyDescriptor(DataColumn)

    Initializes a new instance of the DataTableColumnPropertyDescriptor class and attaches it to an instance of the System.Data.DataColumn DataColumn.

    Declaration
    public DataTableColumnPropertyDescriptor(DataColumn dataColumn)
    Parameters
    Type Name Description
    System.Data.DataColumn dataColumn

    The data column.

    Properties

    Column

    Gets the value of DataColumn.

    Declaration
    public DataColumn Column { get; }
    Property Value
    Type
    System.Data.DataColumn

    ComponentType

    Gets the type of component.

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

    IsBrowsable

    Gets the value whether the member is browse-able or not.

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

    IsReadOnly

    Gets a value indicating whether the member is read-only or not.

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

    PropertyType

    Gets the property type.

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

    Methods

    CanResetValue(Object)

    Determines whether resetting an object resets it's value or not.

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

    The object to be tested it's reset capability.

    Returns
    Type Description
    System.Boolean

    True if it can be reset, OtherwiseFalse.

    Equals(Object)

    Overrides and determines whether the object is equivalent to the given object or not.

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other

    Object to be compared.

    Returns
    Type Description
    System.Boolean

    Trueif they are equivalent; Otherwise False.

    GetHashCode()

    Overrides and serves as a hash function for a particular type.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code.

    GetValue(Object)

    Gets the current value of the property on a component.

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

    The component object.

    Returns
    Type Description
    System.Object

    The property value.

    ResetValue(Object)

    Resets the property value of a given component.

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

    The component object.

    SetValue(Object, Object)

    Sets a value to the specified component.

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

    The component object.

    System.Object value

    New value.

    ShouldSerializeValue(Object)

    Determines whether the component object can be serialized or not.

    Declaration
    public override bool ShouldSerializeValue(object component)
    Parameters
    Type Name Description
    System.Object component

    The component object.

    Returns
    Type Description
    System.Boolean

    Returns False.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved