Raised when the user expands the rows of a table's section by clicking the [+] button in the section's header row.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public event EventHandler<RowEventArgs> TableSectionExpanded |
Visual Basic Copy Code |
---|
Public Event TableSectionExpanded As EventHandler(Of RowEventArgs) |
TableSectionExpanded event handlers receive an argument of type RowEventArgs. The following RowEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The TableNode that contains the expanded rows. | |
Index of the header row of the expanded section. |
A header row is a row whose Header property is enabled. Such rows display a [±] button which can be used to expand or collapse all rows below a header up to the next header. TableSectionExpanded is raised when a user clicks the [+] button, but not when Expanded is set to true programmatically.
The code below changes the color of the first cell of a header row when the table section defined in that row is expanded:
C# Copy Code |
---|
void diagram_TableSectionExpanded(object sender, RowEventArgs e) |
Visual Basic Copy Code |
---|
Private Sub Diagram_TableSectionExpanded(ByVal sender As Object, ByVal e As MindFusion.Diagramming.RowEventArgs)Handles Diagram.TableSectionExpanded |
WpfDiagram Programmer's Guide | © 2024 MindFusion |