Bar

BarLargeButtonItem Class

Represents a bar item whose links can display different images when located on toolbars and menus.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public class BarLargeButtonItem :
    BarButtonItem
Public Class BarLargeButtonItem
    Inherits BarButtonItem

Related API Members

The following members accept/return BarLargeButtonItem objects:

Remarks

The BarLargeButtonItem class represents an item type that can be used to create large button links within toolbars and menus. This class is derived from the BarButtonItem and thus inherits all its functionality. The extra functionality provided by large button items is the following:

The image below displays an example of using large button items to create links within a toolbar and a sub-menu. Different images are displayed within different links related to the same item.

LinkImages - LargeImage1

NOTE

Using Large Button Items in the Ribbon Control makes no sense since the Ribbon Control allows Button Items (BarButtonItem) to display both small and large images.

NOTE

If you create Bar Items in code, note that these objects may not function properly without being associated with a BarManager or RibbonControl. To create a Bar Item, use a Bar Item constructor that has the BarManager parameter. When creating a Bar Item in code for use within a RibbonControl, use a Bar Item constructor that has the BarManager parameter, and pass the RibbonControl.Manager object as this parameter.

See Also