A newer version of this page is available. Switch to the current version.

XRControl.CanHaveChildren Property

Gets a value indicating whether the control can contain other controls.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll


public virtual bool CanHaveChildren { get; }
Public Overridable ReadOnly Property CanHaveChildren As Boolean

Property Value

Type Description

A Boolean value indicating whether an XRControl instance can contain other controls.


By default the return value of this property is false. Those XRControl's descendants that allow their objects to contain other controls override this property with a return value of true. The child controls in these cases can be accessed via the XRControl.Controls property.

Not all descendants of the XRControl class use the CanHaveChildren property. For example, the Band class descendants ignore the CanHaveChildren property.

See Also