ExpanderCollapsing Event

Occurs as the content area is closing.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public event EventHandler<CancelRoutedEventArgs> Collapsing

Value

EventHandlerCancelRoutedEventArgs

Remarks

The event args Cancel property may be set to true to cancel the event and keep the control open (expanded).

See Also