Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ControlBoxContent property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also