Back to Devexpress

TdxBarInPlaceSubItem.Expanded Property

vcl-dxbarextitems-dot-tdxbarinplacesubitem.md

latest1.5 KB
Original Source

TdxBarInPlaceSubItem.Expanded Property

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

Declaration

delphi
property Expanded: Boolean read; write; default False;

Property Value

TypeDefault
BooleanFalse

Remarks

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

ValueMeaningSample
FalseThe in-place subitem is collapsed.
TrueThe 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

TdxBarInPlaceSubItem Class

TdxBarInPlaceSubItem Members

dxBarExtItems Unit