Use of Bar manager in DEV Express

Source: Internet
Author: User

Not typeset

In Barmanager, you can add a variety of elements, such as skin buttons, checkboxes, and so on, but the drop-down menu gives you multiple redundant controls.

Legacy issue: How to set bar as a large icon to find out if a ribbon control exists.

Bar

1, Barmanager is located in the navigation and layout category, after you drag it to the form, the default is to generate BAR1/BAR2/BAR3 three, corresponding to the menu bar/toolbar and taskbar, you can drag bar to dock in the parent container up/down/left/right, or float.

Bar itself has no quick and easy interface.

The bar's Candockstyle property flags how the bar is allowed to be docked.

The bar's DockStyle property flags the current docking mode of bar.

The floatlocation indicates the bar's default position in floating mode.

2, in the Dev series control, the options category's properties can determine many of the basic properties of the control, such as Optionsbar:

AllowDelete, you can delete the bar in bar-editable mode.

Allowquickcomstumization allows quick user-defined, quick-edit-like controls that are set to false to hide the downward triangular number.

Rotatewhenvertical whether the bar rotates when docked to the left or right.

Whether the usewholerow occupies a whole row, by default, when the toolbar is not filled, there is a blank area on the right.

Multiline indicates whether the toolbar element is deployed in multiple rows when it is not displayed.

Barbuttonitem

3, Buttonitem is the most applied control in the menu bar or toolbar, such as the New button.

Alignment to set the alignment of button elements in the menu bar

The Buttonitem is set to right, but it does not work in the tool, because the tool does not use a whole line by default.

Open the Quick edit interface for Buttonitem:

The same is to modify the basic properties of the picture/title, Glyph/large Glyph and previous settings, the default default picture is no different, note the image index and Large image index, Explains where the set images and large images collections exist on Barmanager,

The Paintstyle property sets whether the button displays caption or Glyph alive is caption&glyph.

Barcheckitem

4, when the control is clicked and the control is selected, if more than one checkitem is present in the bar, multiple can be selected at the same time, and Checkitem in different bars can be selected simultaneously,

Open the Quick edit interface for Checkitem:

Note check box visibility can set whether the checkbox is displayed and where the check box is displayed. There are beforetext/aftertext/none three options.

When we set alignment to right for any item that the bar contains, the item on the right side of it will also go to the left with the item. Although its own alignment is the default.

Hint property setting prompt information;

Toggleswitchitem (Switch check box)

5, the Style check box can also select multiple

Barsubitem (drop-down list)

6, implement the menu bar effect on bar,

Add it directly to the drawdown button.

Menudrawmode indicates how item is displayed in the menu (subitem), largeimage or Smallimage.

Statictext (static text)

7, AutoSize sets the length of text, such as content is adjusted according to contents, Spring has some inexplicable.

LeftIndent and RightIndent are combined with AutoSize to specify the left and right margins of the control.

TextAlignment indicates the relative position of the text within the control, with Near/far/center.

HeaderText

8, Title static text, two differences

Because it is the title text, there is no way to set properties such as pictures. The list of properties is particularly straightforward.

linkcontainer/barlistitem/other list (similar to subitem)

Largebutton is similar to button

Skins (skin)

Added to the toolbar, no additional action is required.

Use of Bar manager in DEV Express

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.