ExpanderExpanding Event

Occurs as the content area is opening.

Definition

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

Value

EventHandlerCancelRoutedEventArgs

Remarks

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

See Also