[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Charts.Designer
  [Expand]DevExpress.DashboardWpf
  [Expand]DevExpress.Data
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.Mvvm.UI.Interactivity
  [Expand]DevExpress.Mvvm.UI.ModuleInjection
  [Expand]DevExpress.Xpf.Accordion
  [Collapse]DevExpress.Xpf.Bars
   [Expand]AddBarAction Class
   [Expand]AddBarItemAction Class
   [Expand]AddBarItemLinkAction Class
   [Collapse]Bar Class
     Bar Members
     Bar Constructor
    [Collapse]Bar Properties
      AllowCollapse Property
      AllowCustomizationMenu Property
      AllowHide Property
      AllowQuickCustomization Property
      AllowRename Property
      BarItemDisplayMode Property
      BarItemHorzIndent Property
      BarItemsAlignment Property
      BarItemVertIndent Property
      Caption Property
      CreatedByCustomizationDialog Property
      DefaultBarSize Property
      DockInfo Property
      GlyphSize Property
      HideWhenEmpty Property
      IsAllowHide Property
      IsAllowQuickCustomization Property
      IsCollapsed Property
      IsMainMenu Property
      IsMultiLine Property
      IsRemoved Property
      IsStatusBar Property
      IsUseWholeRow Property
      RotateWhenVertical Property
      ShowDragWidget Property
      ShowSizeGrip Property
      UseWholeRow Property
    [Expand]Bar Events
    [Expand]Bar Methods
   [Expand]BarActionBase Class
   [Expand]BarButtonItem Class
   [Expand]BarButtonItemLink Class
   [Expand]BarCheckItem Class
   [Expand]BarCheckItemLink Class
   [Expand]BarCollection Class
   [Expand]BarContainerControl Class
    BarContainerType Enumeration
   [Expand]BarDockInfo Class
   [Expand]BarEditItem Class
   [Expand]BarEditItemLink Class
   [Expand]BarItem Class
   [Expand]BarItemActionBase Class
    BarItemAlignment Enumeration
    BarItemAutoSizeMode Enumeration
   [Expand]BarItemCollection Class
    BarItemDisplayMode Enumeration
   [Expand]BarItemLink Class
   [Expand]BarItemLinkActionBase Class
   [Expand]BarItemLinkBase Class
   [Expand]BarItemLinkCollection Class
   [Expand]BarItemLinkHolderBase Class
   [Expand]BarItemLinkMenuHeader Class
   [Expand]BarItemLinkSeparator Class
   [Expand]BarItemMenuHeader Class
    BarItemMergeType Enumeration
   [Expand]BarItemSeparator Class
   [Expand]BarLinkContainerItem Class
   [Expand]BarLinkContainerItemLink Class
   [Expand]BarListItem Class
   [Expand]BarListItemLink Class
   [Expand]BarManager Class
   [Expand]BarManagerActionCollection Class
   [Expand]BarManagerActionContainer Class
   [Expand]BarManagerCategory Class
   [Expand]BarManagerCategoryCollection Class
   [Expand]BarManagerController Class
   [Expand]BarManagerControllerActionBase Class
   [Expand]BarManagerControllerBase Class
   [Expand]BarNameScope Class
   [Expand]BarPopupBase Class
   [Expand]BarsLocalizer Class
   [Expand]BarSplitButtonItem Class
   [Expand]BarSplitButtonItemLink Class
   [Expand]BarSplitCheckItem Class
   [Expand]BarSplitCheckItemLink Class
   [Expand]BarStaticItem Class
   [Expand]BarStaticItemLink Class
   [Expand]BarSubItem Class
   [Expand]BarSubItemLink Class
    ButtonSwitcher Enumeration
   [Expand]CreateStandardLayoutAction Class
    ElementMergingBehavior Enumeration
   [Expand]Gallery Class
    GalleryCheckDrawMode Enumeration
   [Expand]GalleryControl Class
   [Expand]GalleryItem Class
    GalleryItemCheckMode Enumeration
   [Expand]GalleryItemCollection Class
   [Expand]GalleryItemGroup Class
   [Expand]GalleryItemGroupCollection Class
    GallerySizeMode Enumeration
    GlyphSize Enumeration
   [Expand]IControllerAction Interface
   [Expand]ILinksHolder Interface
   [Expand]InsertAction Class
   [Expand]InsertBarAction Class
   [Expand]InsertBarItemAction Class
   [Expand]InsertBarItemLinkAction Class
   [Expand]InsertMainMenuIfNotExistAction Class
   [Expand]InsertStatusBarIfNotExistAction Class
   [Expand]ItemClickEventArgs Class
    ItemClickEventHandler Delegate
    ItemLinksHolderType Enumeration
   [Expand]LayoutUpgradingEventArgs Class
    LayoutUpgradingEventHandler Delegate
   [Expand]LinkListItem Class
   [Expand]LinkListItemLink Class
   [Expand]MainMenuControl Class
    MDIMergeStyle Enumeration
   [Expand]MergingProperties Class
   [Expand]PopupControlContainer Class
   [Expand]PopupControlContainerInfo Class
   [Expand]PopupInfo<PopupType> Class
   [Expand]PopupMenu Class
   [Expand]PopupMenuBase Class
   [Expand]PopupMenuInfo Class
    PopupMenuItemsDisplayMode Enumeration
   [Expand]RadialContextMenu Class
   [Expand]RemoveAction Class
   [Expand]RemoveBarAction Class
   [Expand]RemoveBarItemAction Class
   [Expand]RemoveBarItemAndLinkAction Class
   [Expand]RemoveBarItemLinkAction Class
   [Expand]ReplaceAction Class
    RibbonItemStyles Enumeration
   [Expand]SetBarAction Class
   [Expand]SetBarItemAction Class
   [Expand]SetBarItemLinkAction Class
   [Expand]StatusBarControl Class
   [Expand]TemplatedBarManagerController Class
   [Expand]ToolBarControl Class
   [Expand]ToolBarControlBase Class
   [Expand]ToolbarListItem Class
   [Expand]ToolbarListItemLink Class
    ToolbarListItemType Enumeration
    ToolBarMergeStyle Enumeration
   [Expand]UpdateAction Class
   [Expand]UpdateBarAction Class
   [Expand]UpdateBarItemAction Class
   [Expand]UpdateBarItemLinkAction Class
   [Expand]UpdateBarItemLinkActionBase Class
  [Expand]DevExpress.Xpf.Carousel
  [Expand]DevExpress.Xpf.Charts
  [Expand]DevExpress.Xpf.Charts.Localization
  [Expand]DevExpress.Xpf.Charts.RangeControlClient
  [Expand]DevExpress.Xpf.ChunkList
  [Expand]DevExpress.Xpf.Controls
  [Expand]DevExpress.Xpf.Core
  [Expand]DevExpress.Xpf.Core.ConditionalFormatting
  [Expand]DevExpress.Xpf.Core.DataSources
  [Expand]DevExpress.Xpf.Core.FilteringUI
  [Expand]DevExpress.Xpf.Core.ServerMode
  [Expand]DevExpress.Xpf.Data
  [Expand]DevExpress.Xpf.DataAccess
  [Expand]DevExpress.Xpf.DataAccess.DataSourceWizard
  [Expand]DevExpress.Xpf.Diagram
  [Expand]DevExpress.Xpf.Dialogs
  [Expand]DevExpress.Xpf.Docking
  [Expand]DevExpress.Xpf.Docking.Base
  [Expand]DevExpress.Xpf.DocumentViewer
  [Expand]DevExpress.Xpf.DXBinding
  [Expand]DevExpress.Xpf.Editors
  [Expand]DevExpress.Xpf.Editors.DataPager
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor.Native
  [Expand]DevExpress.Xpf.Editors.Filtering
  [Expand]DevExpress.Xpf.Editors.Flyout
  [Expand]DevExpress.Xpf.Editors.Flyout.Native
  [Expand]DevExpress.Xpf.Editors.Helpers
  [Expand]DevExpress.Xpf.Editors.Native
  [Expand]DevExpress.Xpf.Editors.Popups
  [Expand]DevExpress.Xpf.Editors.RangeControl
  [Expand]DevExpress.Xpf.Editors.Settings
  [Expand]DevExpress.Xpf.Editors.Validation
  [Expand]DevExpress.Xpf.ExpressionEditor
  [Expand]DevExpress.Xpf.Gauges
  [Expand]DevExpress.Xpf.Gauges.Localization
  [Expand]DevExpress.Xpf.Grid
  [Expand]DevExpress.Xpf.Grid.ConditionalFormatting
  [Expand]DevExpress.Xpf.Grid.LookUp
  [Expand]DevExpress.Xpf.Grid.TreeList
  [Expand]DevExpress.Xpf.Layout.Core
  [Expand]DevExpress.Xpf.LayoutControl
  [Expand]DevExpress.Xpf.Map
  [Expand]DevExpress.Xpf.NavBar
  [Expand]DevExpress.Xpf.Navigation
  [Expand]DevExpress.Xpf.PdfViewer
  [Expand]DevExpress.Xpf.PivotGrid
  [Expand]DevExpress.Xpf.PivotGrid.Printing
  [Expand]DevExpress.Xpf.Printing
  [Expand]DevExpress.Xpf.Printing.Parameters
  [Expand]DevExpress.Xpf.Printing.Parameters.Models
  [Expand]DevExpress.Xpf.Printing.PreviewControl
  [Expand]DevExpress.Xpf.Printing.PreviewControl.Bars
  [Expand]DevExpress.Xpf.Prism
  [Expand]DevExpress.Xpf.PropertyGrid
  [Expand]DevExpress.Xpf.Reports.UserDesigner
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Extensions
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Localization
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard.Pages
  [Expand]DevExpress.Xpf.Ribbon
  [Expand]DevExpress.Xpf.RichEdit
  [Expand]DevExpress.Xpf.RichEdit.Menu
  [Expand]DevExpress.Xpf.Scheduler
  [Expand]DevExpress.Xpf.Scheduler.Drawing
  [Expand]DevExpress.Xpf.Scheduler.Menu
  [Expand]DevExpress.Xpf.Scheduler.Reporting
  [Expand]DevExpress.Xpf.Scheduler.UI
  [Expand]DevExpress.Xpf.Scheduling
  [Expand]DevExpress.Xpf.Scheduling.Editors
  [Expand]DevExpress.Xpf.Scheduling.Reporting
  [Expand]DevExpress.Xpf.Scheduling.Visual
  [Expand]DevExpress.Xpf.Scheduling.VisualData
  [Expand]DevExpress.Xpf.SpellChecker
  [Expand]DevExpress.Xpf.Spreadsheet
  [Expand]DevExpress.Xpf.Spreadsheet.Menu
  [Expand]DevExpress.Xpf.TreeMap
  [Expand]DevExpress.Xpf.Utils.Themes
  [Expand]DevExpress.Xpf.WindowsUI
  [Expand]DevExpress.Xpf.WindowsUI.Internal
  [Expand]DevExpress.Xpf.WindowsUI.Navigation
  [Expand]DevExpress.XtraRichEdit
  [Expand]DevExpress.XtraRichEdit.Printing
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Bar Properties

A bar which is displayed on-screen using a BarContainerControl object.

Expanded Public Properties

Show: Inherited
  Name Description
Public property AllowCollapse

Gets or sets whether a bar can be collapsed by double-clicking on the bar's drag widget. This is a dependency property.

Public property AllowCustomizationMenu Gets or sets if the current Bar's customization context menu is enabled. This is a dependency property.
Public property AllowDrop Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property AllowHide

Gets or sets whether the bar's visibility can be changed by an end-user. This is a dependency property.

Public property AllowQuickCustomization Gets or sets whether the bar provides the Quick Customization Button, opening the customization menu.
Public property AllowRename

Gets or sets whether a bar can be renamed via the Customization Window. This is a dependency property.

Public property AreAnyTouchesCaptured (Inherited from System.Windows.ContentElement)
Public property AreAnyTouchesCapturedWithin (Inherited from System.Windows.ContentElement)
Public property AreAnyTouchesDirectlyOver (Inherited from System.Windows.ContentElement)
Public property AreAnyTouchesOver (Inherited from System.Windows.ContentElement)
Public property BarItemDisplayMode Gets or sets whether the content, glyph or both are displayed in the bar items.
Public property BarItemHorzIndent

Gets or sets the horizontal interval between the bar's links. This is a dependency property.

Public property BarItemsAlignment Gets or sets the default alignment of all bar item links that reside within the current bar.
Public property BarItemVertIndent

Gets or sets the vertical interval between the bar's links. This is a dependency property.

Public property BindingGroup Gets or sets the System.Windows.Data.BindingGroup that is used for the element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property Caption

Gets or sets the bar's caption. This is a dependency property.

Public property CommandBindings Gets a collection of System.Windows.Input.CommandBinding objects that are associated with this element. (Inherited from System.Windows.ContentElement)
Public property ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property CreatedByCustomizationDialog Gets or sets whether this Bar was created by an end-user during the Runtime Customization.
Public property Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property CustomItemsGlyphSize

Gets or sets the size of the glyph for the bar items within the current bar. The CustomItemsGlyphSize property affects the glyph size if the bar item's GlyphSize property is set to Custom. This is a dependency property.

(Inherited from BarItemLinkHolderBase)
Public property DataContext Gets or sets the data context for an element when it participates in data binding. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property DefaultBarSize This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property DependencyObjectType Gets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public property Dispatcher Gets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public property DockInfo Contains information on the position where the bar is docked.
Public property Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property FocusVisualStyle Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property ForceCursor Gets or sets a value indicating whether this System.Windows.FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance's System.Windows.FrameworkContentElement.Cursor property. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property GlyphSize

Gets or sets whether a small or large image is used by bar item links displayed in the current bar. This is a dependency property.

Public property HasAnimatedProperties Gets a value that indicates whether this element has any animated properties. (Inherited from System.Windows.ContentElement)
Public property HideWhenEmpty Gets or sets whether the current bar is automatically hidden when it does not contain any items. This is a dependency property.
Public property InputBindings Gets the collection of input bindings that are associated with this element. (Inherited from System.Windows.ContentElement)
Public property InputScope Gets or sets the context for input used by this System.Windows.FrameworkContentElement. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property IsAllowHide Gets whether the bar's visibility can be changed by an end-user.
Public property IsAllowQuickCustomization Gets whether the bar provides the Quick Customization Button.
Public property IsCollapsed

Gets or sets whether the bar is collapsed. This is a dependency property.

Public property IsEnabled Gets or sets a value that indicates whether this element is enabled in the user interface (UI). This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsFocused Gets a value that determines whether this element has logical focus. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsInitialized Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its System.Windows.FrameworkContentElement.EndInit method called. (Inherited from System.Windows.FrameworkContentElement)
Public property IsInputMethodEnabled Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (Inherited from System.Windows.ContentElement)
Public property IsKeyboardFocused Gets a value that indicates whether this element has keyboard focus. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsKeyboardFocusWithin Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsLoaded Gets a value indicating whether this element has been loaded for presentation. (Inherited from System.Windows.FrameworkContentElement)
Public property IsMainMenu

Gets or sets whether the bar represents the main menu. This is a dependency property.

Public property IsMouseCaptured Gets a value that indicates whether the mouse is captured by this element. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsMouseOver Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsMultiLine

Gets or sets whether bar links are arranged into several lines when their total width exceeds the width of the bar. This is a dependency property.

Public property IsRemoved This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property IsSealed Gets a value that declares whether this instance is currently read-only. (Inherited from System.Windows.DependencyObject)
Public property IsStatusBar

Gets or sets whether the bar represents the status bar. This is a dependency property.

Public property IsStylusCaptured Gets a value that indicates whether the stylus is captured to this element. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsStylusOver Gets a value that indicates whether the stylus is located over this element (including visual child elements). This is a dependency property. (Inherited from System.Windows.ContentElement)
Public property IsUseWholeRow Gets whether the bar is stretched to match the container's width.
Public property ItemLinks Provides access to the collection of links owned by the current container. (Inherited from BarItemLinkHolderBase)
Public property ItemLinksSource Gets or sets an object that provides information to generate and initialize item links for this BarItemLinkHolderBase. This is a dependency property. (Inherited from BarItemLinkHolderBase)
Public property ItemLinksSourceElementGeneratesUniqueBarItem Gets or sets whether each reference to a data object in an BarItemLinkHolderBase.ItemLinksSource for this BarItemLinkHolderBase should generate a unique BarItem, whether or not this data object was previously referenced. This is a dependency property. (Inherited from BarItemLinkHolderBase)
Public property Items Provides access to a bar item collection, whose related bar item links are displayed within this BarItemLinkHolderBase object. (Inherited from BarItemLinkHolderBase)
Public property ItemStyle

Gets or sets the style applied to a BarItem object defined as the BarItemLinkHolderBase.ItemTemplate's content. This is a dependency property.

(Inherited from BarItemLinkHolderBase)
Public property ItemStyleSelector (Inherited from BarItemLinkHolderBase)
Public property ItemTemplate

Gets or sets the template used to visualize elements stored in the BarItemLinkHolderBase.ItemLinksSource collection.

This is a dependency property.

(Inherited from BarItemLinkHolderBase)
Public property ItemTemplateSelector Gets or sets an object that chooses a template used to visualize objects stored as elements in the BarItemLinkHolderBase.ItemLinksSource collection. This is a dependency property. (Inherited from BarItemLinkHolderBase)
Public property Language Gets or sets localization/globalization language information that applies to an individual element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property Manager

Gets or sets the current BarManager. This is a dependency property.

(Inherited from BarItemLinkHolderBase)
Public property Name Gets or sets the identifying name of the element. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property OverridesDefaultStyle Gets or sets a value indicating whether this element incorporates style properties from theme styles. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property Parent Gets the parent in the logical tree for this element. (Inherited from System.Windows.FrameworkContentElement)
Public property Resources Gets or sets the current locally-defined resource dictionary. (Inherited from System.Windows.FrameworkContentElement)
Public property RotateWhenVertical

Gets or sets whether the captions of the bar's links are rotated when the bar is vertically docked. This is a dependency property.

Public property ShowDragWidget

Gets or sets whether a drag widget is displayed at the left of the bar, allowing the bar to be dragged using the mouse. This is a dependency property.

Public property ShowSizeGrip

Gets or sets if a Bar object has a visible size grip. This is a dependency property.

Public property Style Gets or sets the style to be used by this element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. (Inherited from System.Windows.FrameworkContentElement)
Public property ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). This is a dependency property. (Inherited from System.Windows.FrameworkContentElement)
Public property TouchesCaptured (Inherited from System.Windows.ContentElement)
Public property TouchesCapturedWithin (Inherited from System.Windows.ContentElement)
Public property TouchesDirectlyOver (Inherited from System.Windows.ContentElement)
Public property TouchesOver (Inherited from System.Windows.ContentElement)
Public property UseWholeRow Gets or sets whether the bar is stretched to match the container's width.
Public property Visible

Gets or sets whether the current container is visible. This is a dependency property.

(Inherited from BarItemLinkHolderBase)
Top

Expanded See Also

Is this topic helpful?​​​​​​​