Skip to main content

TdxBarInPlaceSubItem.Expanded Property

Controls the expansion state of the in-place subitem located in a submenu or popup menu.

Declaration

property Expanded: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Set this property to True to expand the in-place subitem and display its submenu within a parent menu.

Value Meaning Sample
False The in-place subitem is collapsed.
True The in-place subitem is expanded.

You can respond to expansion state changes by handling the OnAfterExpand and OnBeforeCollapse. In addition, you can emphasize submenu contents within a parent menu via the KeepBeginGroupWhileExpanded property.

The default value of the Expanded property is False.

See Also