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

TdxBar.IsMainMenu Property

Determines whether the current toolbar is the main menu.

#Declaration

Delphi
property IsMainMenu: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

If the IsMainMenu property returns True, the current toolbar performs the role of a main menu. In this instance, the bar manager’s MainMenuBar property refers to this toolbar and the bar manager’s MainMenuControl property refers to the current bar’s Control property. You can set the IsMainMenu property programmatically or within the customization form.

Note

Only one instance of the TdxBar class may have the IsMainMenu property set to True. The value of this property controls the behavior and visualization of the bar control as specified by the Control property.

See Also