Back to Devexpress

ExpandStateChangingEventHandler Delegate

windowsforms-devexpress-dot-xtrabars-dot-navigation-ef14e891.md

latest1.8 KB
Original Source

ExpandStateChangingEventHandler Delegate

Represents a method that will handle the AccordionControl.ExpandStateChanging event.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public delegate void ExpandStateChangingEventHandler(
    object sender,
    ExpandStateChangingEventArgs e
);
vb
Public Delegate Sub ExpandStateChangingEventHandler(
    sender As Object,
    e As ExpandStateChangingEventArgs
)

Parameters

NameTypeDescription
senderObject

The AccordionControl that raises the event.

| | e | ExpandStateChangingEventArgs |

Data for the event.

|

Remarks

When creating a ExpandStateChangingEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraBars.Navigation Namespace