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
Implements
Inherited Members
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 |
---|
GridStackedHeaderVisibleColumnDescriptorCollection |
Name
Gets the name of a GridColumnDescriptor or GridColumnSetDescriptor
Declaration
public virtual string Name { get; set; }
Property Value
Type |
---|
System.String |
StackedHeader
Gets the GridStackedHeaderDescriptor that this descriptor belongs to.
Declaration
public GridStackedHeaderDescriptor StackedHeader { get; }
Property Value
Type |
---|
GridStackedHeaderDescriptor |
TableDescriptor
Gets the GridTableDescriptor that this descriptor belongs to.
Declaration
public GridTableDescriptor TableDescriptor { get; }
Property Value
Type |
---|
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
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
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
GetName()
Overrides and get the name of the descriptor.
Declaration
public override string GetName()
Returns
Type | Description |
---|---|
System.String | Descriptor name. |
Overrides
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 |
---|
DescriptorPropertyChangedEventHandler |
PropertyChanging
Occurs before a property is changed.
Declaration
public event DescriptorPropertyChangedEventHandler PropertyChanging
Event Type
Type |
---|
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 |
---|
System.Collections.ICollection |
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
Type |
---|
System.Object |