WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridStackedHeaderVisibleColumnDescriptor

    Show / Hide Table of Contents

    Class GridStackedHeaderVisibleColumnDescriptor

    Represents a GridStackedHeaderVisibleColumnDescriptor which binds a Column or ColumnSet to a StackedHeader cell. The GridStackedHeaderVisibleColumnDescriptor descriptors are managed by the GridStackedHeaderVisibleColumnDescriptorCollection which is returned by the VisibleColumns property of a GridStackedHeaderDescriptor.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    DescriptorBase
    GridStackedHeaderVisibleColumnDescriptor
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStandardValuesProvider
    System.ICloneable
    Inherited Members
    DescriptorBase.Dispose()
    DescriptorBase.OnDisposed(EventArgs)
    DescriptorBase.CanResetValue()
    DescriptorBase.Reset()
    DescriptorBase.ShouldSerialize()
    DescriptorBase.ToString()
    DescriptorBase.Disposing
    DescriptorBase.InDisposed
    DescriptorBase.IsDisposed
    DescriptorBase.Disposed
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridStackedHeaderVisibleColumnDescriptor : DescriptorBase, ICustomTypeDescriptor, IDisposable, IStandardValuesProvider, ICloneable

    Constructors

    GridStackedHeaderVisibleColumnDescriptor()

    Initializes a new instance of the GridStackedHeaderVisibleColumnDescriptor class.

    Declaration
    public GridStackedHeaderVisibleColumnDescriptor()

    GridStackedHeaderVisibleColumnDescriptor(String)

    Initializes a new instance of the GridStackedHeaderVisibleColumnDescriptor class with a specified name.

    Declaration
    public GridStackedHeaderVisibleColumnDescriptor(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the descriptor.

    Properties

    Collection

    Gets the collection this descriptor belongs to.

    Declaration
    public GridStackedHeaderVisibleColumnDescriptorCollection Collection { get; }
    Property Value
    Type Description
    GridStackedHeaderVisibleColumnDescriptorCollection

    Name

    Gets the name of a GridColumnDescriptor or GridColumnSetDescriptor

    Declaration
    public virtual string Name { get; set; }
    Property Value
    Type Description
    System.String

    StackedHeader

    Gets the GridStackedHeaderDescriptor that this descriptor belongs to.

    Declaration
    public GridStackedHeaderDescriptor StackedHeader { get; }
    Property Value
    Type Description
    GridStackedHeaderDescriptor

    TableDescriptor

    Gets the GridTableDescriptor that this descriptor belongs to.

    Declaration
    public GridTableDescriptor TableDescriptor { get; }
    Property Value
    Type Description
    GridTableDescriptor

    Methods

    Clone()

    Creates a copy of this descriptor.

    Declaration
    public GridStackedHeaderVisibleColumnDescriptor Clone()
    Returns
    Type Description
    GridStackedHeaderVisibleColumnDescriptor

    A copy of this descriptor.

    Dispose(Boolean)

    Overrides and disposes the unmanaged resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    DescriptorBase.Dispose(Boolean)

    Equals(Object)

    Overrides and determines a value indicating whether the specified System.Object is equal to the current System.Object or not.

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

    The System.Object to compare with the current System.Object.

    Returns
    Type Description
    System.Boolean

    True if the specified System.Object is equal to the current System.Object; Otherwise False.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Overrides and gets a hash function for a particular type.

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

    A hash code for the current object.

    Overrides
    System.Object.GetHashCode()

    GetName()

    Overrides and get the name of the descriptor.

    Declaration
    public override string GetName()
    Returns
    Type Description
    System.String

    Descriptor name.

    Overrides
    DescriptorBase.GetName()

    InitializeFrom(GridStackedHeaderVisibleColumnDescriptor)

    Initializes this object and copies properties from another object. PropertyChanging and PropertyChanged events are raised for every property that is modified. If both objects are equal, no events are raised.

    Declaration
    public void InitializeFrom(GridStackedHeaderVisibleColumnDescriptor other)
    Parameters
    Type Name Description
    GridStackedHeaderVisibleColumnDescriptor other

    The source object.

    OnPropertyChanged(DescriptorPropertyChangedEventArgs)

    Triggered when the PropertyChanged event is done.

    Declaration
    protected virtual void OnPropertyChanged(DescriptorPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    DescriptorPropertyChangedEventArgs e

    A DescriptorPropertyChangedEventArgs contains the event data.

    OnPropertyChanging(DescriptorPropertyChangedEventArgs)

    Triggered when the PropertyChanging event is done.

    Declaration
    protected virtual void OnPropertyChanging(DescriptorPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    DescriptorPropertyChangedEventArgs e

    A System.ComponentModel.PropertyChangedEventArgs contains the event data.

    Events

    PropertyChanged

    Occurs when a property is changed.

    Declaration
    public event DescriptorPropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    DescriptorPropertyChangedEventHandler

    PropertyChanging

    Occurs before a property is changed.

    Declaration
    public event DescriptorPropertyChangedEventHandler PropertyChanging
    Event Type
    Type Description
    DescriptorPropertyChangedEventHandler

    Explicit Interface Implementations

    IStandardValuesProvider.GetStandardValues(PropertyDescriptor)

    Gets the standard values of the current object.

    Declaration
    ICollection IStandardValuesProvider.GetStandardValues(PropertyDescriptor pd)
    Parameters
    Type Name Description
    System.ComponentModel.PropertyDescriptor pd

    An instance of the System.ComponentModel.PropertyDescriptor class.

    Returns
    Type Description
    System.Collections.ICollection

    ICloneable.Clone()

    Declaration
    object ICloneable.Clone()
    Returns
    Type Description
    System.Object

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStandardValuesProvider
    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved