Back to Devexpress

SpreadsheetControl.AfterOutlineButtonClick Event

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetcontrol-84b2031a.md

latest3.7 KB
Original Source

SpreadsheetControl.AfterOutlineButtonClick Event

Fires after a user clicks an outline button for row or column groups.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
public event AfterOutlineButtonClickEventHandler AfterOutlineButtonClick
vb
Public Event AfterOutlineButtonClick As AfterOutlineButtonClickEventHandler

Event Data

The AfterOutlineButtonClick event's data class is AfterOutlineButtonClickEventArgs. The following properties provide information specific to this event:

PropertyDescription
IsRowOutlineIndicates whether a user clicked the outline button for row groups.
LevelReturns the group level that corresponds to the outline button a user clicked.

Remarks

The WinForms Spreadsheet control ships with a set of events that allow you to control the expand/collapse operations for row and column groups in a worksheet.

The following events occur when a user clicks a plus / minus symbol on the outline bar (or the Hide Detail / Show Detail button on the Data ribbon tab):

The following events occur when a user clicks one of the outline buttons to expand/collapse row or column groups:

The AfterOutlineButtonClick event fires after an outline button is clicked and the expand/collapse operation is executed. The event’s IsRowOutline argument allows you to determine whether a user clicked an outline button for row or column groups, and the Level argument returns the group level that corresponds to this outline button.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.XtraSpreadsheet Namespace