Code below shows an example of how to scroll current SideBarPanel using MouseWheel:

C#

private void frm_Load(object sender, EventArgs e)
{
    sideBar1.MouseMove += new MouseEventHandler(sideBar1_MouseMove);
    sideBar1.MouseWheel += new MouseEventHandler(sideBar1_MouseWheel);
}
 
void sideBar1_MouseMove(object sender, MouseEventArgs e)
{
    sideBar1.Focus();
}
 
void sideBar1_MouseWheel(object sender, MouseEventArgs e)
{
    if (e.Delta < 0)
    {
        if (sideBar1.ExpandedPanel.TopItemIndex < sideBar1.ExpandedPanel.SubItems.Count - 1)
            sideBar1.ExpandedPanel.TopItemIndex = sideBar1.ExpandedPanel.TopItemIndex + 1;
    }
    else
    {
        if (sideBar1.ExpandedPanel.TopItemIndex > 0)
            sideBar1.ExpandedPanel.TopItemIndex = sideBar1.ExpandedPanel.TopItemIndex - 1;
    }
}

VB

Private Sub frm_Load(sender As Object, e As EventArgs)
    sideBar1.MouseMove += New MouseEventHandler(AddressOf sideBar1_MouseMove)
    sideBar1.MouseWheel += New MouseEventHandler(AddressOf sideBar1_MouseWheel)
End Sub
 
Private Sub sideBar1_MouseMove(sender As Object, e As MouseEventArgs)
    sideBar1.Focus()
End Sub
 
Private Sub sideBar1_MouseWheel(sender As Object, e As MouseEventArgs)
    If e.Delta < 0 Then
        If sideBar1.ExpandedPanel.TopItemIndex < sideBar1.ExpandedPanel.SubItems.Count - 1 Then
            sideBar1.ExpandedPanel.TopItemIndex = sideBar1.ExpandedPanel.TopItemIndex + 1
        End If
    Else
        If sideBar1.ExpandedPanel.TopItemIndex > 0 Then
            sideBar1.ExpandedPanel.TopItemIndex = sideBar1.ExpandedPanel.TopItemIndex - 1
        End If
    End If
End Sub

Related posts:

  1. How to Make DotNetBar for WinForms Floating Docking Windows Translucent
  2. How to use SideBar control
  3. Accessing Internal Bar TabStrip Control
  4. How to find CrumBarItem in CrumbBar control by name
  5. How to show custom Tooltip for Schedule Appointments