Skip to main content

BaseLayoutItem.ControlBoxContent Property

Gets or sets the content of the control box region. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public object ControlBoxContent { get; set; }

Property Value

Type Description
Object

An object that represents the content of the control box region.

Remarks

The control box region represents an area within an item’s header. If the item displays specific buttons (for instance, the Close and Pin buttons), the control box region is displayed next to the buttons. You can embed custom objects in the control box region, by specifying the ControlBoxContent property.

Control box regions are supported for the following objects:

  • LayoutPanel objects
  • objects that represent their child items as tabs
  • objects that are represented by tabs

To temporarily hide the item’s control box region, use the BaseLayoutItem.ShowControlBox property.

See Also