OutlookGridAlphabeticGroup Class

Krypton OutlookGrid

OutlookGridAlphabeticGroup Class
Krypton OutlookGrid v1.6.0
This group simple example of an implementation which groups the items into Alphabetic categories based only on the first letter of each item For this we need to override the Value property (used for comparison) and the CompareTo function. Also the Clone method must be overriden, so this Group object can create clones of itself. Cloning of the group is used by the OutlookGrid
Inheritance Hierarchy
SystemObject  JDHSoftware.Krypton.Toolkit.KryptonOutlookGridOutlookGridDefaultGroup
    JDHSoftware.Krypton.Toolkit.KryptonOutlookGridOutlookGridAlphabeticGroup

Namespace: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid
Assembly: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid (in JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
public class OutlookGridAlphabeticGroup : OutlookGridDefaultGroup
Public Class OutlookGridAlphabeticGroup
	Inherits OutlookGridDefaultGroup

The OutlookGridAlphabeticGroup type exposes the following members.

Constructors
  NameDescription
Public methodOutlookGridAlphabeticGroup
Initializes a new instance of the OutlookGridAlphabeticGroup class.
Public methodOutlookGridAlphabeticGroup(IOutlookGridGroup)
Constructor.
Top
Properties
  NameDescription
Public propertyAllowHiddenWhenGrouped
Gets or sets the boolean that hides the column automatically when grouped.
(Inherited from OutlookGridDefaultGroup.)
Public propertyChildren
Gets or sets the children.
(Inherited from OutlookGridDefaultGroup.)
Public propertyCollapsed
Boolean if the group is collapsed or not
(Inherited from OutlookGridDefaultGroup.)
Public propertyColumn
Gets or sets the associated DataGridView column.
(Inherited from OutlookGridDefaultGroup.)
Public propertyFormatStyle
Gets or sets the Format Info.
(Inherited from OutlookGridDefaultGroup.)
Public propertyGroupImage
Gets or sets the picture.
(Inherited from OutlookGridDefaultGroup.)
Public propertyHeight
Gets or sets the height (in pixels).
(Inherited from OutlookGridDefaultGroup.)
Public propertyItemCount
Gets or set the number of items in this group.
(Inherited from OutlookGridDefaultGroup.)
Public propertyItemsComparer
Gets or sets the items comparer.
(Inherited from OutlookGridDefaultGroup.)
Public propertyLevel
Gets or sets the level.
(Inherited from OutlookGridDefaultGroup.)
Public propertyOneItemText
Gets or sets the text associated to One Item
(Inherited from OutlookGridDefaultGroup.)
Public propertyParentGroup
Gets or sets the parent group.
(Inherited from OutlookGridDefaultGroup.)
Public propertyRows
Gets or sets the list of rows associated to the group.
(Inherited from OutlookGridDefaultGroup.)
Public propertySortBySummaryCount
Gets or sets the boolean that sort groups using summary value
(Inherited from OutlookGridDefaultGroup.)
Public propertyText
Gets or sets the displayed text.
(Overrides OutlookGridDefaultGroupText.)
Public propertyValue
Gets or sets the Alphabetic value
(Overrides OutlookGridDefaultGroupValue.)
Public propertyXXXItemsText
Gets or sets the text associated to several Items
(Inherited from OutlookGridDefaultGroup.)
Top
Methods
  NameDescription
Public methodClone
Overrides the Clone() function
(Overrides OutlookGridDefaultGroupClone.)
Public methodCompareTo
overide the CompareTo, so only the first character is compared, instead of the whole string this will result in classifying each item into a letter of the Alphabet. for instance, this is usefull when grouping names, they will be categorized under the letters A, B, C etc..
(Overrides OutlookGridDefaultGroupCompareTo(Object).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldallowHiddenWhenGrouped
Allows the column to be hidden when it is grouped by
(Inherited from OutlookGridDefaultGroup.)
Protected fieldchildren
The children groups
(Inherited from OutlookGridDefaultGroup.)
Protected fieldcollapsed
Boolean if the group is collapsed or not
(Inherited from OutlookGridDefaultGroup.)
Protected fieldcolumn
The associated DataGridView column.
(Inherited from OutlookGridDefaultGroup.)
Protected fieldformatStyle
The string to format the value of the group
(Inherited from OutlookGridDefaultGroup.)
Protected fieldgroupImage
The picture associated to the group
(Inherited from OutlookGridDefaultGroup.)
Protected fieldheight
The height (in pixels).
(Inherited from OutlookGridDefaultGroup.)
Protected fielditemCount
The number of items in this group.
(Inherited from OutlookGridDefaultGroup.)
Protected fielditemsComparer
Specific Comparer object for items in the group, if needed
(Inherited from OutlookGridDefaultGroup.)
Protected fieldlevel
The level (nested) of grouping
(Inherited from OutlookGridDefaultGroup.)
Protected fieldoneItemText
The text associated for the group text (1 item)
(Inherited from OutlookGridDefaultGroup.)
Protected fieldparentGroup
The parent group if any.
(Inherited from OutlookGridDefaultGroup.)
Protected fieldrows
The list of rows associated to the group.
(Inherited from OutlookGridDefaultGroup.)
Protected fieldsortBySummaryCount
Sort groups using count items value
(Inherited from OutlookGridDefaultGroup.)
Protected fieldval
The Value of the group
(Inherited from OutlookGridDefaultGroup.)
Protected fieldxXXItemsText
The text associated for the group text (XXX items)
(Inherited from OutlookGridDefaultGroup.)
Top
See Also