Skip to main content

XRSubreport Members

A control used to include the contents of one report in another report.

Constructors

Name Description
XRSubreport() Initializes a new instance of the XRSubreport class with the default settings.

Properties

Name Description
Band Provides access to the owner band, in which the current control is situated. Inherited from XRControl.
BookmarkParent Specifies the control in the main report whose bookmark is the parent node for the subreport’s table of contents. Inherited from SubreportBase.
BottomF Gets the Y-coordinate of the control’s bottom edge (measured in report units). Inherited from XRControl.
BoundsF Gets or sets the control’s size and position within the parent element. Inherited from SubreportBase.
CanHaveChildren Gets a value indicating whether the control can contain other controls. Inherited from XRControl.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CanShrink Gets or sets a value indicating whether the subreport’s height can decrease if its contents don’t completely fill the control.
Container Gets the IContainer that contains the Component. Inherited from Component.
Controls Gets the collection of XRControl objects or their descendants that are contained in this control. Inherited from XRControl.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
ExpressionBindings Provides access to a control’s collection of expression bindings. Inherited from XRControl.
FormattingRules Provides access to a collection of formatting rules applied to this control. Inherited from XRControl.
GenerateOwnPages Gets or sets whether the referenced report is printed on separate pages and uses its own page settings. Inherited from SubreportBase.
HasChildren Gets a value indicating whether the control contains other XRControl objects. Inherited from XRControl.
HeightF Specifies the control’s height (measured in report units). Inherited from XRControl.
Index Gets the zero-based index of this control in its parent’s collection of controls. Inherited from XRControl.
IsDisposed For internal use. Gets a value indicating whether the control has been disposed of. Inherited from XRControl.
IsSingleChild Checks whether the report element (control or band) is a single child of its parent. Inherited from XRControl.
LeftF Specifies the X-coordinate of the control’s left edge (measured in report units). Inherited from XRControl.
LocationF Specifies the floating-point representation of the coordinates of the control’s upper-left corner. Inherited from XRControl.
LocationFloat For internal use. Supports serialization of the XRControl.LocationF property. Inherited from XRControl.
LockedInUserDesigner Gets or sets a value that specifies whether this control can be changed by an end-user in the End-User Designer. Inherited from XRControl.
Name Gets or sets a name of the control. Inherited from XRControl.
ParameterBindings Allows you to access to a collection of subreport parameter bindings. Use the property to bind the subreport report parameters to the master report’s fields or parameters. Inherited from SubreportBase.
Parent Specifies the parent object that contains the current control. Inherited from XRControl.
Report Provides access to the report that contains the control. Inherited from XRControl.
ReportSource Gets or sets an XtraReport class instance. This instance’s content is included in the main report. Inherited from SubreportBase.
ReportSourceRowCount Returns the number of rows in the data source associated with the report the subreport control currently processes. Inherited from SubreportBase.
ReportSourceUrl Gets or sets a URL or path that specifies a report’s location. The report content is included in the main report.
RightF Gets the X-coordinate of the control’s right edge (measured in report units). Inherited from XRControl.
RootReport Provides access to the report to which the control belongs. Inherited from XRControl.
Scripts Provides access to the SubreportBase‘s scripts. Inherited from SubreportBase.
Site Gets or sets the ISite of the Component. Inherited from Component.
SizeF Gets or sets the size of the control. Inherited from XRControl.
SnapLineMargin Specifies the control’s margins that are maintained when the control is aligned using snap lines. Inherited from XRControl.
TopF Gets or sets the Y-coordinate of the control’s top edge (measured in report units). Inherited from XRControl.
Visible Gets or sets a value that specifies whether the report control is displayed in the document. Inherited from XRControl.
WidthF Specifies the control’s width (measured in report units). Inherited from XRControl.

Methods

Name Description
AllControls<T>() Returns a collection that contains all controls found within XRControl (within a report). Inherited from XRControl.
ApplyParameterBindings() Inherited from SubreportBase.
BringToFront() Brings the control to the front of the z-order. Inherited from XRControl.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FillParameterBindings() Inherited from SubreportBase.
FindControl(String, Boolean) Finds the control that has the specified name in the XRControl.Controls collection. Inherited from XRControl.
GetEffectiveBackColor() Returns the color actually used as the control’s background color. Inherited from XRControl.
GetEffectiveBorderColor() Returns the color actually used as the control’s border color. Inherited from XRControl.
GetEffectiveBorderDashStyle() Returns the border dash style that is actually used by the control. Inherited from XRControl.
GetEffectiveBorders() Returns the borders settings actually used as the control’s borders settings. Inherited from XRControl.
GetEffectiveBorderWidth() Returns the border width settings actually used as the control’s current settings. Inherited from XRControl.
GetEffectiveFont() Returns the font actually used as the control’s font. Inherited from XRControl.
GetEffectiveForeColor() Returns the color actually used as the control’s foreground color. Inherited from XRControl.
GetEffectivePadding() Returns the padding values actually used as the control’s padding. Inherited from XRControl.
GetEffectiveStyle() Returns the actual visual style of a control taking into account all formatting rules and odd/even styles applied to the control. Inherited from XRControl.
GetEffectiveTextAlignment() Returns the text alignment actually used as the control’s text alignment. Inherited from XRControl.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
LoadSubreportLayout(String, XtraReport) Loads the layout of the report assigned to the subreport’s SubreportBase.ReportSource property. Inherited from SubreportBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PerformLayout() Forces the control to apply layout logic to itself and all its child controls. Inherited from XRControl.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveInvalidBindings(Predicate<XRBinding>) Removes inappropriate bindings assigned to the XRControl‘s properties. Inherited from XRControl.
RemoveUnusedParameterBindings() Inherited from SubreportBase.
ResetBackColor() Resets the XRControl.BackColor property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetBorderColor() Resets the XRControl.BorderColor property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetBorderDashStyle() Resets the XRControl.BorderDashStyle property to en empty value. Inherited from XRControl.
ResetBorders() Resets the XRControl.Borders property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetBorderWidth() Resets the XRControl.BorderWidth property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetFont() Resets the XRControl.Font property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetForeColor() Resets the XRControl.ForeColor property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetPadding() Resets the XRControl.Padding property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResetTextAlignment() Resets the XRControl.TextAlignment property value, so that it is no longer stored in the current control and is obtained from its parent instead. Inherited from XRControl.
ResumeLayout() Resumes normal layout logic for the control. Inherited from XRControl.
SendToBack() Sends the control to the back of the z-order. Inherited from XRControl.
SuspendLayout() Temporarily suspends the layout logic for the control. Inherited from XRControl.
ToImage() Returns a graphical representation of a control. Inherited from XRControl.
ToImage(DXTextRenderingHint) Returns the graphical representation of a control created using the specified text rendering mode. Inherited from XRControl.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
AfterPrint Occurs after an XRControl object is displayed in the report. Inherited from XRControl.
BeforePrint Occurs before an XRControl object creates its image in a report being generated. Inherited from XRControl.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
Draw Overrides the XRControl.Draw event. Inherited from SubreportBase.
EvaluateBinding This event is not available for the SubreportBase class. Inherited from SubreportBase.
HtmlItemCreated Overrides the XRControl.HtmlItemCreated event. Inherited from SubreportBase.
LocationChanged Occurs when the value of the XRControl.LocationF property is changed. Inherited from XRControl.
ParentChanged Occurs when the XRControl instance’s parent is changed. Inherited from XRControl.
PreviewClick Hides the inappropriate XRControl.PreviewClick event of the parent XRControl class. Inherited from SubreportBase.
PreviewDoubleClick Hides the inappropriate XRControl.PreviewDoubleClick event of the parent XRControl class. Inherited from SubreportBase.
PreviewMouseDown Hides the inappropriate XRControl.PreviewMouseDown event of the parent XRControl class. Inherited from SubreportBase.
PreviewMouseMove Hides the inappropriate XRControl.PreviewMouseMove event of the parent XRControl class. Inherited from SubreportBase.
PreviewMouseUp Hides the inappropriate XRControl.PreviewMouseUp event of the parent XRControl class. Inherited from SubreportBase.
PrintOnPage Overrides the XRControl.PrintOnPage event to hide it. Inherited from SubreportBase.
SizeChanged Occurs when the value of the XRControl.SizeF property is changed. Inherited from XRControl.
TextChanged Overrides the XRControl.TextChanged event. Inherited from SubreportBase.
See Also