Back to Devexpress

CustomDrawNavBarElementEventHandler Delegate

windowsforms-devexpress-dot-xtranavbar-dot-viewinfo-ebe0281a.md

latest2.3 KB
Original Source

CustomDrawNavBarElementEventHandler Delegate

Represents a method that will handle the NavBarControl.CustomDrawGroupCaption and NavBarControl.CustomDrawLink events.

Namespace : DevExpress.XtraNavBar.ViewInfo

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

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

Parameters

NameTypeDescription
senderObject

An object representing the source of the event (typically the NavBarControl).

| | e | CustomDrawNavBarElementEventArgs |

A CustomDrawNavBarElementEventArgs object that contains event data.

|

Remarks

When you create a CustomDrawNavBarElementEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also

CustomDrawGroupCaption

CustomDrawLink

CustomDrawNavBarElementEventArgs

DevExpress.XtraNavBar.ViewInfo Namespace