Skip to main content
A newer version of this page is available. .
Bar

BarLargeButtonItem() Constructor

Creates an instance of the BarLargeButtonItem class with default settings.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public BarLargeButtonItem()

Remarks

Use the constructor to create a new large button item with default settings at runtime.

The created item is not assigned to any BarManager. Thus you have to assign it manually. You can use the BarItem.Manager property for this purpose. Note that you can also add the item to the BarManager.Items collection of the desired Bar Manager to achieve the same result.

After an item has been assigned to a BarManager, it can be assigned to one of your bars. Use the Bar.AddItem or Bar.InsertItem method of the desired bar for this purpose.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarLargeButtonItem() constructor.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also