dbicList Send comments on this topic.
BeforeNodeCollapse Event
See Also 
dbicBase Assembly > Dbi.WinControl Namespace > DbiListControl Class : BeforeNodeCollapse Event

Event fired before a parent node is collapsed (child nodes will be hidden).

Syntax

Visual Basic (Declaration) 
Public Event BeforeNodeCollapse As DbiListControl.EventBeforeNodeCollapseHandler
C# 
public event DbiListControl.EventBeforeNodeCollapseHandler BeforeNodeCollapse

Event Data

The event handler receives an argument of type BeforeNodeCollapseEventArgs containing data related to this event. The following BeforeNodeCollapseEventArgs properties provide information specific to this event.

PropertyDescription
Action An enumerated value indicating the action against the control that triggered the event.
AllowCollapse Determines if the node will be collapsed.
NodeItem The dbiNodeItem being collapsed.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also