Skip to main content
A newer version of this page is available. .

XRControl Methods

The base class for all visual controls used for creating reports.
Name Description
AllControls<T>() Returns a collection that contains all controls found within XRControl (within a report).
BringToFront() Brings the control to the front of the z-order.
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.
FindControl(String, Boolean) Finds the control that has the specified name in the XRControl.Controls collection.
GetEffectiveBackColor() Returns the color actually used as the control’s background color.
GetEffectiveBorderColor() Returns the color actually used as the control’s border color.
GetEffectiveBorderDashStyle() Returns the border dash style that is actually used by the control.
GetEffectiveBorders() Returns the borders settings actually used as the control’s borders settings.
GetEffectiveBorderWidth() Returns the border width settings actually used as the control’s current settings.
GetEffectiveFont() Returns the font actually used as the control’s font.
GetEffectiveForeColor() Returns the color actually used as the control’s foreground color.
GetEffectivePadding() Returns the padding values actually used as the control’s padding.
GetEffectiveStyle() Returns the actual visual style of a control taking into account all formatting rules and odd/even styles applied to the control.
GetEffectiveTextAlignment() Returns the text alignment actually used as the control’s text alignment.
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.
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.
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.
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.
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.
ResetBorderDashStyle() Resets the XRControl.BorderDashStyle property to en empty value.
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.
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.
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.
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.
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.
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.
ResumeLayout() Resumes normal layout logic for the control.
SendToBack() Sends the control to the back of the z-order.
SuspendLayout() Temporarily suspends the layout logic for the control.
ToImage() Returns a graphical representation of a control.
ToImage(TextRenderingHint) Returns a control’s graphical representation created using the specified text rendering mode.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
See Also