Bar
A newer version of this page is available. Switch to the current version.

BarItemLinkSeparator Class

Represents a separator between item links.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v18.2.dll

Declaration

public class BarItemLinkSeparator :
    BarItemLink

Remarks

To create a separator between bar item links, you need to create a BarItemLinkSeparator object and add it to the ItemLinks collection of a container (a bar, popup menu, sub-menu, etc).

Note: Unlike regular bar item links, the BarItemLinkSeparator class does not have a matching bar item class.

Examples

This example shows how to create bar button items (BarButtonItem objects) and add a link separator between them. The separator is created using the DevExpress.Wpf.Bars.BarItemLinkSeparator class.

The following image shows the result:

E1575

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

Namespace BarItemLinkSeparatorEx
    ''' <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)

            DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName()
        End Sub
    End Class
End Namespace

Implements

See Also