WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum BarStyle

    Show / Hide Table of Contents

    Enum BarStyle

    Specifies the style in which a Bar(tool bar) will be drawn in the XP Menus framework.

    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    [Flags]
    public enum BarStyle
    Remarks

    This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

    The tool bars use this enum to specify their drawing style.

    Fields

    Name Description
    AllowQuickCustomizing

    This will draw an arrow button to the right of the tool bar that will allow the user to drop-down a menu from which they can select hidden items, add or remove buttons and invoke the Customization dialog.

    DrawDragBorder

    Allows the user to drag the bar around, allowing him to move it within the dock border, dock to a different border or float it. If not set, the bar cannot be moved.

    IsMainMenu

    Marks this bar as the MainMenu. Setting this flag will force the bar to occupy the whole row irrespective of the MultiLine setting and enables MainMenu like keyboard and mouse based navigation. It also shows the Minimize/Maximize/Close buttons to the right and the System Menu to the left when an MDI child window is maximized. When there are more than one bar marked as IsMainMenu, the first setting is honored and the rest are ignored.

    IsStatusBar

    Marks this Bar as the status bar. This will take the Bar to take the whole row and dock to the bottom of the application. When there are more than one bar marked as IsStatusBar, the first setting is honored and the rest are ignored. You can also not specify IsMainMenu and IsStatusBar for the same Bar. The IsMainMenu setting will take precedence.

    MultiLine

    Wraps the bar into multiple rows when there isn't enough space in a row while docked or when the user resizes the floating bars.

    None

    No Style.

    RotateWhenVertical

    When this flag is set, the text in the bars will always be drawn horizontal irrespective of which border the bar is docked to. If not set, the text will be drawn vertical when the bars are docked to the left or right border.

    TextBelowImage

    Specifies that the text should be drawn below the image in this toolbar.

    UseWholeRow

    Forces the bar to take the whole row when docked to a form's border.

    Visible

    Lets you show or hide a bar.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved