GrapeCity MultiRow Windows Forms Documentation
ColumnHeaderCell Class
Members 


Represents a Cell that can be used to perform sort and filter operations in addition to the functions provided by HeaderCell.
Object Model
ColumnHeaderCell ClassDropDownButtonImages ClassHeaderDropDownList ClassMultiRowFlatButtonAppearance ClassGcMultiRow ClassCellStyle ClassCellNote ClassSection ClassCellStyle ClassMultiRowTouchToolBar ClassValidatorCollection ClassCellValidator Class
Syntax
<SRDescriptionAttribute("Displays as a column’s header and provides options such as filter and sort.")>
<BindableCellAttribute(False)>
<ToolboxItemFilterAttribute(FilterString="GrapeCity.Win.MultiRow.Template7", FilterType=ToolboxItemFilterType.Custom Or  _
    ToolboxItemFilterType.Prevent Or  _
    ToolboxItemFilterType.Require)>
<ToolboxBitmapAttribute()>
<SuppressMessageAttribute(Category="Microsoft.Maintainability", 
   CheckId="CA1506:AvoidExcessiveClassCoupling", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.ColumnHeaderCellDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
Public Class ColumnHeaderCell 
   Inherits HeaderCell
   Implements IFilteringCell 
Dim instance As ColumnHeaderCell
[SRDescription("Displays as a column’s header and provides options such as filter and sort.")]
[BindableCell(false)]
[ToolboxItemFilter(FilterString="GrapeCity.Win.MultiRow.Template7", FilterType=ToolboxItemFilterType.Custom | 
    ToolboxItemFilterType.Prevent | 
    ToolboxItemFilterType.Require)]
[ToolboxBitmap()]
[SuppressMessage(Category="Microsoft.Maintainability", 
   CheckId="CA1506:AvoidExcessiveClassCoupling", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.ColumnHeaderCellDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
public class ColumnHeaderCell : HeaderCell, IFilteringCell  
Remarks

The ColumnHeaderCell class is a special type of HeaderCell used to implement selection in the vertical direction or sort and filter for all rows under the specific cell.

Only the ColumnHeaderSection section can own the ColumnHeaderCell. If you add the ColumnHeaderCell to other sections such as Row or ColumnFooterSection, an exception is thrown.

Note to Inheritors:

When you derive from ColumnHeaderCell and add new properties to the derived class, be sure to override the Clone method to copy the new properties during cloning operations. You should also call the base class's Clone method so that the properties of the base class are copied to the new cell.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.Win.MultiRow.Cell
            GrapeCity.Win.MultiRow.HeaderCell
               GrapeCity.Win.MultiRow.ColumnHeaderCell

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColumnHeaderCell Members
GrapeCity.Win.MultiRow Namespace
HeaderCell Class
RowHeaderCell Class
CornerHeaderCell Class
Cell Class

 

 


Copyright © GrapeCity, inc. All rights reserved.