Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxBarSubItem.GetDetachingBar Method

Returns a toolbar assigned to a specific subitem.

#Declaration

Delphi
function GetDetachingBar: TdxBar;

#Returns

Type
TdxBar

#Remarks

The ExpressBars Suite allows you to implement detachable submenus in your application. Said differently, if the Detachable property is set to True, a bar appears at the top of the submenu list. By dragging this bar, a user can activate the toolbar assigned via the DetachingBar property. The DetachingBar property contains the toolbar’s index, therefore, call the GetDetachingBar method to obtain the appropriate TdxBar object.

See Also