WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridPropertyStandardValuesSelfPropertyDescriptor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridPropertyStandardValuesSelfPropertyDescriptor

    Internal only.

    Inheritance
    System.Object
    GridPropertyStandardValuesSelfPropertyDescriptor
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridPropertyStandardValuesSelfPropertyDescriptor : PropertyDescriptor

    Constructors

    GridPropertyStandardValuesSelfPropertyDescriptor(GridPropertyStandardValuesList, String, Type)

    Initializes a new instances of GridPropertyStandardValuesSelfPropertyDescriptor PropertyDescriptor and attaches it to a FieldDescriptor.

    Declaration
    public GridPropertyStandardValuesSelfPropertyDescriptor(GridPropertyStandardValuesList parent, string name, Type type)
    Parameters
    Type Name Description
    GridPropertyStandardValuesList parent

    A reference to GridPropertyStandardValuesList.

    System.String name

    Proprety name.

    System.Type type

    Property type.

    Properties

    ComponentType

    Gets the type of the component this property is bound to.

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

    IsBrowsable

    Gets a value indicating whether the member is browsable.

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

    IsReadOnly

    Gets a value indicating whether this property is read-only.

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

    PropertyType

    Gets the type of the property.

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

    Methods

    CanResetValue(Object)

    Returns whether resetting an object changes its value.

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

    The component to test for reset capability.

    Returns
    Type Description
    System.Boolean

    true if resetting the component changes its value; otherwise, false.

    Equals(Object)

    Compares this to another object to see if they are equivalent.

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

    The object to compare.

    Returns
    Type Description
    System.Boolean

    true if the values are equivalent; otherwise, false.

    GetHashCode()

    Returns the hash code for this object.

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

    The hash code for this object.

    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 with the property for which to retrieve the value.

    Returns
    Type Description
    System.Object

    The value of a property for a given component.

    ResetValue(Object)

    Resets the value for this property of the component to the default value.

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

    The component with the property value that is to be reset to the default value.

    SetValue(Object, Object)

    Sets the value of the component to a different value.

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

    The component with the property value that is to be set.

    The new value.
    System.Object value

    ShouldSerializeValue(Object)

    Determines a value indicating whether the value of this property needs to be persisted.

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

    The component with the property to be examined for persistence.

    Returns
    Type Description
    System.Boolean

    true if the property should be persisted; otherwise, false.

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