New to Telerik Reporting? Start a free 30-day trial

Represents an item that may contain other LayoutElements

Definition

Namespace:Telerik.Reporting.Processing

Assembly:Telerik.Reporting.dll

Syntax:

C#
public interface ILayoutElementContainer

Derived Classes: CheckBoxDetailSectionGroupGroupSectionHtmlTextBoxPageSectionPanelReportReportSectionReportSectionBaseSubReportTableTextBoxTocSection...

Properties

Gets a read-only enumeration containing the immediate children of the current container.

C#
IEnumerable<LayoutElement> Children { get; }
Example:
cs-api-definition
void DetailSection_ItemDataBinding_Using_ILayoutElementContainer_Children(object sender, EventArgs e)
{
Processing.DetailSection processingInstance = (Processing.DetailSection)sender;
Processing.ILayoutElementContainer processingContainer = processingInstance as Processing.ILayoutElementContainer;
if (null != processingContainer)
{
foreach (Processing.LayoutElement processingChild in processingContainer.Children)
{
Processing.VisualElement visualChild = processingChild as Processing.VisualElement;
if (null != visualChild)
{
visualChild.Style.BackgroundColor = System.Drawing.Color.Blue;
}
}
}
}
In this article
DefinitionPropertiesChildren
Not finding the help you need?
Contact Support