Back to Devexpress

TdxBarControlContainerItem Class

vcl-dxbarextitems-a61545cf.md

latest2.1 KB
Original Source

TdxBarControlContainerItem Class

Used to incorporate external controls onto toolbars.

Declaration

delphi
TdxBarControlContainerItem = class(
    TdxBarItem
)

Remarks

TdxBarControlContainerItem items are used to embed different external controls into toolbars. This object acts as a container for any component supported by Delphi or C++Builder. You can place a component onto a form and assign it via the item’s Control property.

|

|

Assigning the PageControl1 object to the dxBarControlContainerItem1 at design time.

| |

|

The dxBarControlContainerItem1 represents the PageControl1 object at runtime.

|

Important

Only basic controls are eligible to be put into submenus or Ribbon controls. In other words, those controls should not have window handles.

Only one instance of an external control should be visible when running an application, therefore set the Visible property of the external control to False in order to provide faultless functionality.

Inheritance

TObject TPersistent TComponent TcxCustomComponent TdxBarComponent TdxBarItem TdxBarControlContainerItem

See Also

TdxBarControlContainerControl

List of Bar Item Types

TdxBarControlContainerItem Members

dxBarExtItems Unit