How to: create a ToolbarItemList item

  • 2 minutes to read

This example shows how to create a ToolbarListItem, used to provide access to available toolbars. The ToolbarListItem object is added to the sub-menu displayed within the main menu.

The following image shows the result:


View Example

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Windows

Namespace ToolbarListItemEx
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

        Private Sub OnAppStartup_UpdateThemeName(ByVal sender As Object, ByVal e As StartupEventArgs)

        End Sub
    End Class
End Namespace