Skip to main content

XRControl Properties

The base class for all visual controls used for creating reports.
Name Description
AccessibleDescription Bindable. Gets or sets the description of a control used by assistive technologies.
Action Specifies the action assigned to the control.
AnchorHorizontal Specifies the horizontal anchoring type of a report control.
AnchorVertical Specifies the vertical anchoring style of a report control.
BackColor Gets or sets a control’s background color.
Band Provides access to the owner band, in which the current control is situated.
Bookmark Bindable. Gets or sets the text of a bookmark for this control.
BookmarkParent Gets or sets the report control whose bookmark is the parent of the current bookmark.
BorderColor Gets or sets the control’s border color.
BorderDashStyle Specifies the dash style for the control’s border.
Borders Specifies a set of borders (top, right, bottom, left) that should be visible for the control.
BorderWidth Specifies the width of cell borders in pixels, as a floating point value.
BottomF Gets the Y-coordinate of the control’s bottom edge (measured in report units).
BoundsF Specifies the location and size of a report element, according to the system of measurement selected for the report.
CanGrow Gets or sets a value indicating whether the control’s height can grow in order to display the content in its entirety.
CanHaveChildren Gets a value indicating whether the control can contain other controls.
CanPublish Specifies whether or not a report control is displayed in a printed or exported document.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CanShrink Gets or sets a value that determines whether the height of a control can decrease if its content does not 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.
DataBindings Provides access to the collection of a control’s bindings.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EvenStyleName Gets or sets the style applied to the control when it displays an even record from the bound data source.
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.
Font Gets or sets the control’s font.
ForeColor Gets or sets the control’s foreground color.
FormattingRules Provides access to a collection of formatting rules applied to this control.
HasChildren Gets a value indicating whether the control contains other XRControl objects.
HeightF Specifies the control’s height (measured in report units).
Index Gets the zero-based index of this control in its parent’s collection of controls.
IsDisposed For internal use. Gets a value indicating whether the control has been disposed of.
IsSingleChild Checks whether the report element (control or band) is a single child of its parent.
KeepTogether Specifies whether a control can be split across pages.
LeftF Specifies the X-coordinate of the control’s left edge (measured in report units).
LocationF Specifies the floating-point representation of the coordinates of the control’s upper-left corner.
LocationFloat For internal use. Supports serialization of the XRControl.LocationF property.
LockedInUserDesigner Gets or sets a value that specifies whether this control can be changed by an end-user in the End-User Designer.
Name Gets or sets a name of the control.
NavigateUrl Bindable. Specifies the URL to navigate to when a control is clicked.
OddStyleName Gets or sets the style applied to the control when it displays an odd record from the bound data source.
Padding Gets or sets the control’s padding values (measured in report units).
Parent Specifies the parent object that contains the current control.
Report Provides access to the report that contains the control.
RightF Gets the X-coordinate of the control’s right edge (measured in report units).
RootReport Provides access to the report to which the control belongs.
Scripts Provides access to an object that contains XRControl-specific scripts to handle its events in the End-User Report Designer.
Site Gets or sets the ISite of the Component. Inherited from Component.
SizeF Gets or sets the size of the control.
SnapLineMargin Specifies the control’s margins that are maintained when the control is aligned using snap lines.
StyleName Gets or sets the name of the style, which is applied to the current control.
StylePriority Allows you to specify properties whose values for an individual control have priority over the same properties specified for the style assigned to the control.
Styles Gets a set of styles for the control.
Tag Bindable. Gets or sets the object that contains data about this control.
Target Specifies the target window or frame in which to display the linked Web page’s content, when the control is clicked.
Text Bindable. Specifies the control’s text.
TextAlignment Specifies the positioning of text within a control.
TopF Gets or sets the Y-coordinate of the control’s top edge (measured in report units).
Visible Gets or sets a value that specifies whether the report control is displayed in the document.
WidthF Specifies the control’s width (measured in report units).
WordWrap Indicates whether a control automatically wraps words to the beginning of the next line when necessary.
XlsxFormatString Specifies the native Excel format to be imported to the control’s content after the report is exported to an Excel file (XLS or XLSX).
See Also