/// <summary> /// Raises the GroupIntervalClick event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> private void OnGroupIntervalClick(OutlookGridColumnEventArgs e) { if (GroupIntervalClick != null) { GroupIntervalClick(this, e); } }
/// <summary> /// Raises the OnSortBySummaryCount event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> private void OnSortBySummaryCount(OutlookGridColumnEventArgs e) { if (SortBySummaryCount != null) { SortBySummaryCount(this, e); } }
/// <summary> /// Raises the Group Expand event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> protected virtual void OnGroupExpand(OutlookGridColumnEventArgs e) { if (GroupExpand != null) { GroupExpand(this, e); } }
/// <summary> /// Raises the Group Collapse event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> protected virtual void OnGroupCollapse(OutlookGridColumnEventArgs e) { if (GroupCollapse != null) { GroupCollapse(this, e); } }
/// <summary> /// Raises the ColumnGroupOrderChanged event. /// </summary> /// <param name="e">A OutlookGridColumnEventArgs that contains the event data.</param> protected virtual void OnColumnGroupOrderChanged(OutlookGridColumnEventArgs e) { if (ColumnGroupOrderChanged != null) { ColumnGroupOrderChanged(this, e); } }
/// <summary> /// Handles the GroupExpandEvent event. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void GridGroupExpandEvent(object sender, OutlookGridColumnEventArgs e) { Expand(e.Column.Name); #if (DEBUG) Console.WriteLine("OutlookGrid - Receives GridGroupExpandEvent"); #endif }
/// <summary> /// Handles the ColumnSortChangedEvent event. Update the header (glyph) and fill the grid too. /// </summary> /// <param name="sender">Source of the event.</param> /// <param name="e">A OutlookGridColumnEventArgs that contains the event data.</param> private void ColumnSortChangedEvent(object sender, OutlookGridColumnEventArgs e) { #if (DEBUG) Console.WriteLine("OutlookGrid - Receives ColumnSortChangedEvent : " + e.Column.Name + " " + e.Column.SortDirection.ToString()); #endif internalColumns[e.Column.Name].SortDirection = e.Column.SortDirection; internalColumns[e.Column.Name].DataGridViewColumn.HeaderCell.SortGlyphDirection = e.Column.SortDirection; Fill(); }
/// <summary> /// Handles the ColumnGroupRemovedEvent event. Fill the grid too. /// </summary> /// <param name="sender">Source of the event.</param> /// <param name="e">A OutlookGridColumnEventArgs that contains the event data.</param> private void ColumnGroupRemovedEvent(object sender, OutlookGridColumnEventArgs e) { UnGroupColumn(e.Column.Name); //We fill again the grid with the new Grouping info Fill(); #if (DEBUG) Console.WriteLine("OutlookGrid - Receives ColumnGroupRemovedEvent : " + e.Column.Name); #endif }
private void ColumnGroupIndexChangedEvent(object sender, OutlookGridColumnEventArgs e) { //TODO 25/01/2014 internalColumns.ChangeGroupIndex(e.Column); Fill(); //to reflect the changes ForceRefreshGroupBox(); #if (DEBUG) Console.WriteLine("OutlookGrid - Receives ColumnGroupIndexChangedEvent"); #endif }
/// <summary> /// Raises the ColumnSortChanged event. /// </summary> /// <param name="e">A OutlookGridColumnEventArgs that contains the event data.</param> protected virtual void OnColumnSortChanged(OutlookGridColumnEventArgs e) { if (ColumnSortChanged != null) ColumnSortChanged(this, e); }
/// <summary> /// Raises the OnSortBySummaryCount event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> private void OnSortBySummaryCount(OutlookGridColumnEventArgs e) { if (SortBySummaryCount != null) SortBySummaryCount(this, e); }
/// <summary> /// Raises the GroupIntervalClick event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> private void OnGroupIntervalClick(OutlookGridColumnEventArgs e) { if (GroupIntervalClick != null) GroupIntervalClick(this, e); }
/// <summary> /// Raises the Group Expand event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> protected virtual void OnGroupExpand(OutlookGridColumnEventArgs e) { if (GroupExpand != null) GroupExpand(this, e); }
/// <summary> /// Raises the Group Collapse event. /// </summary> /// <param name="e">A EventArgs that contains the event data.</param> protected virtual void OnGroupCollapse(OutlookGridColumnEventArgs e) { if (GroupCollapse != null) GroupCollapse(this, e); }
private void GroupIntervalClickEvent(object sender, OutlookGridColumnEventArgs e) { OutlookGridColumn col = internalColumns.FindFromColumnName(e.Column.Name); ((OutlookGridDateTimeGroup)col.GroupingType).Interval = ((OutlookGridDateTimeGroup)e.Column.GroupingType).Interval; Fill(); #if (DEBUG) Console.WriteLine("OutlookGrid - Receives GroupIntervalClickEvent"); #endif }
private void SortBySummaryCountEvent(object sender, OutlookGridColumnEventArgs e) { OutlookGridColumn col = internalColumns.FindFromColumnName(e.Column.Name); col.GroupingType.SortBySummaryCount = e.Column.GroupingType.SortBySummaryCount; Fill(); #if (DEBUG) Console.WriteLine("OutlookGrid - Receives SortBySummaryCountEvent"); #endif }
/// <summary> /// Raises the ColumnGroupRemoved event. /// </summary> /// <param name="e">A OutlookGridColumnEventArgs that contains the event data.</param> protected virtual void OnColumnGroupRemoved(OutlookGridColumnEventArgs e) { if (ColumnGroupRemoved != null) ColumnGroupRemoved(this, e); }