Progress® Telerik® Reporting R1 2021
ILayoutElementContainer.Children Property
Gets a read-only enumeration containing the immediate children of the current container.
Namespace:
Telerik.Reporting.ProcessingAssembly: Telerik.Reporting (in Telerik.Reporting.dll)
Syntax
Examples
This example shows how to access all children of a container in a ItemDataBinding event handler.
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; } } } }
Version Information
Supported in: 1.0.1