BrickSelector.GetBricksByXRControl(Document, Object) Method
In This Article
A static method that returns an enumeration of visual bricks generated by the specified XtraReport control from a document.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public static IEnumerable<VisualBrick> GetBricksByXRControl(
Document document,
object xrControl
)
#Parameters
Name | Type | Description |
---|---|---|
document | Document | The document from which to return bricks. |
xr |
Object | An XRControl descendant. A brick is returned if it was generated by this control. |
#Returns
Type | Description |
---|---|
IEnumerable<Visual |
Bricks from the specified document. |
#Remarks
This method returns an empty enumeration if the CachedReportSource/CachedReportSourceWeb component was used to create the document.
See Also