OutlookGridRow Class

Krypton OutlookGrid

OutlookGridRow Class
Krypton OutlookGrid v1.6.0
OutlookGridRow - subclasses the DataGridView's DataGridViewRow class In order to support grouping with the same look and feel as Outlook, the behaviour of the DataGridViewRow is overridden by the OutlookGridRow. The OutlookGridRow has 2 main additional properties: the Group it belongs to and a the IsRowGroup flag that indicates whether the OutlookGridRow object behaves like a regular row (with data) or should behave like a Group row.
Inheritance Hierarchy
SystemObject  System.Windows.FormsDataGridViewElement
    System.Windows.FormsDataGridViewBand
      System.Windows.FormsDataGridViewRow
        JDHSoftware.Krypton.Toolkit.KryptonOutlookGridOutlookGridRow

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 OutlookGridRow : DataGridViewRow
Public Class OutlookGridRow
	Inherits DataGridViewRow

The OutlookGridRow type exposes the following members.

Constructors
  NameDescription
Public methodOutlookGridRow
Default Constructor
Public methodOutlookGridRow(IOutlookGridGroup)
Constructor
Public methodOutlookGridRow(IOutlookGridGroup, Boolean)
Constructor
Top
Properties
  NameDescription
Public propertyAccessibilityObject (Inherited from DataGridViewRow.)
Public propertyCells (Inherited from DataGridViewRow.)
Public propertyCollapsed
Gets or sets a value indicating whether this OutlookGridRow is collapsed.
Public propertyContextMenuStrip (Inherited from DataGridViewRow.)
Public propertyDataBoundItem (Inherited from DataGridViewRow.)
Public propertyDataGridView (Inherited from DataGridViewElement.)
Public propertyDefaultCellStyle (Inherited from DataGridViewRow.)
Public propertyDefaultHeaderCellType (Inherited from DataGridViewBand.)
Public propertyDisplayed (Inherited from DataGridViewRow.)
Public propertyDividerHeight (Inherited from DataGridViewRow.)
Public propertyErrorText (Inherited from DataGridViewRow.)
Public propertyFrozen (Inherited from DataGridViewRow.)
Public propertyGroup
Gets or sets the group to the row belongs to.
Public propertyHasChildren
Gets a value indicating whether this instance has children.
Public propertyHasDefaultCellStyle (Inherited from DataGridViewBand.)
Public propertyHeaderCell (Inherited from DataGridViewRow.)
Protected propertyHeaderCellCore (Inherited from DataGridViewBand.)
Public propertyHeight (Inherited from DataGridViewRow.)
Public propertyIndex (Inherited from DataGridViewBand.)
Public propertyInheritedStyle (Inherited from DataGridViewRow.)
Public propertyIsFirstSibling
Gets a value indicating whether this instance is first sibling.
Public propertyIsGroupRow
Gets or sets a value indicating whether this instance is a group row.
Public propertyIsLastSibling
Gets a value indicating whether this instance is last sibling.
Public propertyIsNewRow (Inherited from DataGridViewRow.)
Protected propertyIsRow (Inherited from DataGridViewBand.)
Public propertyMinimumHeight (Inherited from DataGridViewRow.)
Public propertyNodeIndex
Gets the index of the node.
Public propertyNodeLevel
Gets or sets the node level.
Public propertyNodes
Gets or sets the nodes.
Public propertyParentNode
Gets or sets the parent node.
Public propertyReadOnly (Inherited from DataGridViewRow.)
Public propertyResizable (Inherited from DataGridViewRow.)
Public propertySelected (Inherited from DataGridViewRow.)
Public propertyState (Inherited from DataGridViewRow.)
Public propertyTag (Inherited from DataGridViewBand.)
Public propertyVisible (Inherited from DataGridViewRow.)
Top
Methods
  NameDescription
Public methodAdjustRowHeaderBorderStyle (Inherited from DataGridViewRow.)
Public methodClone (Inherited from DataGridViewRow.)
Public methodCollapse
Collapse Node (with events)
Public methodCollapseGroup
Collaspe the group the row belongs to.
Protected methodCreateAccessibilityInstance (Inherited from DataGridViewRow.)
Public methodCreateCells(DataGridView) (Inherited from DataGridViewRow.)
Public methodCreateCells(DataGridView, Object) (Inherited from DataGridViewRow.)
Protected methodCreateCellsInstance (Inherited from DataGridViewRow.)
Public methodDispose (Inherited from DataGridViewBand.)
Protected methodDispose(Boolean) (Inherited from DataGridViewBand.)
Protected methodDrawFocus (Inherited from DataGridViewRow.)
Public methodEquals (Inherited from Object.)
Public methodExpand
Expand Node (with events)
Public methodExpandGroup
Expand the group the row belongs to.
Protected methodFinalize (Inherited from DataGridViewBand.)
Public methodGetContextMenuStrip (Inherited from DataGridViewRow.)
Public methodGetErrorText (Inherited from DataGridViewRow.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPreferredHeight (Inherited from DataGridViewRow.)
Public methodGetState
Overrides the GetState method
(Overrides DataGridViewRowGetState(Int32).)
Public methodGetType (Inherited from Object.)
Public methodIsAParentCollapsed
Gets if the row has one parent that is collapsed
Public methodIsAParentNodeOrGroupCollapsed
Determines if there is a parent node or a parent group collapsed.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnDataGridViewChanged (Inherited from DataGridViewBand.)
Protected methodPaint
the main difference with a Group row and a regular row is the way it is painted on the control. the Paint method is therefore overridden and specifies how the Group row is painted. Note: this method is not implemented optimally. It is merely used for demonstration purposes
(Overrides DataGridViewRowPaint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Boolean, Boolean).)
Protected methodPaintCells
Paints the cells.
(Overrides DataGridViewRowPaintCells(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Boolean, Boolean, DataGridViewPaintParts).)
Protected methodPaintHeader (Inherited from DataGridViewRow.)
Protected methodRaiseCellClick (Inherited from DataGridViewElement.)
Protected methodRaiseCellContentClick (Inherited from DataGridViewElement.)
Protected methodRaiseCellContentDoubleClick (Inherited from DataGridViewElement.)
Protected methodRaiseCellValueChanged (Inherited from DataGridViewElement.)
Protected methodRaiseDataError (Inherited from DataGridViewElement.)
Protected methodRaiseMouseWheel (Inherited from DataGridViewElement.)
Public methodSetValues (Inherited from DataGridViewRow.)
Public methodToString
Returns a String that represents this instance.
(Overrides DataGridViewRowToString.)
Top
See Also