XRLabel Members
In This Article
#Constructors
Name | Description |
---|---|
XRLabel() | Initializes a new instance of the XRLabel class with the default settings. |
#Properties
Name | Description |
---|---|
Accessible |
Bindable. Gets or sets the description of a control used by assistive technologies. Inherited from XRControl. |
Accessible |
Specifies the role of XRLabel and XRTable in the exported PDF document. This value is used by assistive technologies.
|
Action | Specifies the action assigned to the control. Inherited from XRControl. |
Allow |
Gets or sets whether you can use HTML-style markup tags to format the control’s text. |
Anchor |
Specifies the horizontal anchoring type of a report control. Inherited from XRControl. |
Anchor |
Specifies the vertical anchoring style of a report control. Inherited from XRControl. |
Angle | Gets or sets the angle by which the XRLabel‘s text is rotated. |
Auto |
Specifies whether or not the width of a label depends on its text. |
Back |
Gets or sets a control’s background color. Inherited from XRControl. |
Band | Provides access to the owner band, in which the current control is situated. Inherited from XRControl. |
Bookmark | Bindable. Gets or sets the text of a bookmark for this control. Inherited from XRControl. |
Bookmark |
Gets or sets the report control whose bookmark is the parent of the current bookmark. Inherited from XRControl. |
Border |
Gets or sets the control’s border color. Inherited from XRControl. |
Border |
Specifies the dash style for the control’s border. Inherited from XRControl. |
Borders | Specifies a set of borders (top, right, bottom, left) that should be visible for the control. Inherited from XRControl. |
Border |
Specifies the width of cell borders in pixels, as a floating point value. Inherited from XRControl. |
Bottom |
Gets the Y-coordinate of the control’s bottom edge (measured in report units). Inherited from XRControl. |
Bounds |
Specifies the location and size of a report element, according to the system of measurement selected for the report. Inherited from XRControl. |
Can |
Gets or sets a value indicating whether the label’s height can grow in order to display the contents in their entirety. |
Can |
Gets a value indicating whether the control can contain other controls. Inherited from XRControl. |
Can |
Specifies whether or not a report control is displayed in a printed or exported document. Inherited from XRControl. |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Can |
Gets or sets a value indicating whether the label’s height can decrease if its text 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. Inherited from XRControl. |
Data |
Provides access to the collection of a control’s bindings. Inherited from XRControl. |
Default |
Returns an object representing the default padding value for the XRLabel class. |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Edit |
Provides access to options that define whether and how a control’s content can be edited in Print Preview. |
Even |
Gets or sets the style applied to the control when it displays an even record from the bound data source. Inherited from XRControl. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Expression |
Provides access to a control’s collection of expression bindings. Inherited from XRControl. |
Font | Gets or sets the control’s font. Inherited from XRControl. |
Fore |
Gets or sets the control’s foreground color. Inherited from XRControl. |
Formatting |
Provides access to a collection of formatting rules applied to this control. Inherited from XRControl. |
Has |
Gets a value indicating whether the control contains other XRControl objects. Inherited from XRControl. |
Height |
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. |
Interactive |
Enables sorting a report in Print Preview by clicking the XRLabel. |
Is |
For internal use. Gets a value indicating whether the control has been disposed of. Inherited from XRControl. |
Is |
Checks whether the report element (control or band) is a single child of its parent. Inherited from XRControl. |
Keep |
Overrides the XRControl. |
Left |
Specifies the X-coordinate of the control’s left edge (measured in report units). Inherited from XRControl. |
Location |
Specifies the floating-point representation of the coordinates of the control’s upper-left corner. Inherited from XRControl. |
Location |
For internal use. Supports serialization of the XRControl. |
Locked |
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. |
Multiline | Gets or sets whether carriage return (CRLF) characters split the label’s text into multiple lines. |
Name | Gets or sets a name of the control. Inherited from XRControl. |
Navigate |
Bindable. Specifies the URL to navigate to when a control is clicked. Inherited from XRControl. |
Null |
Specifies the text shown by the XRLabel when the value of its bound data field is null. |
Odd |
Gets or sets the style applied to the control when it displays an odd record from the bound data source. Inherited from XRControl. |
Padding | Gets or sets the control’s padding values (measured in report units). Inherited from XRControl. |
Parent | Specifies the parent object that contains the current control. Inherited from XRControl. |
Process |
Specifies how to process a XRLabel control with duplicate values. See the Process |
Process |
Specifies whether to process duplicate values of the XRControl. |
Process |
Specifies how to process a XRLabel control with null values. See the Value |
Report | Provides access to the report that contains the control. Inherited from XRControl. |
Right |
Gets the X-coordinate of the control’s right edge (measured in report units). Inherited from XRControl. |
Right |
Specifies the orientation of the XRLabel‘s content. |
Root |
Provides access to the report to which the control belongs. Inherited from XRControl. |
Scripts | Provides access to an object that contains XRLabel-specific scripts to handle its events in the End-User Report Designer. |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
Size |
Gets or sets the size of the control. Inherited from XRControl. |
Snap |
Specifies the control’s margins that are maintained when the control is aligned using snap lines. Inherited from XRControl. |
Style |
Gets or sets the name of the style, which is applied to the current control. Inherited from XRControl. |
Style |
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. Inherited from XRControl. |
Styles | Gets a set of styles for the control. Inherited from XRControl. |
Summary |
Gets the value that was calculated for the data source field bound to the XRControl. |
Tag | Bindable. Gets or sets the object that contains data about this control. Inherited from XRControl. |
Target | Specifies the target window or frame in which to display the linked Web page’s content, when the control is clicked. Inherited from XRControl. |
Text |
Bindable. Specifies the control’s text.
Inherited from XRField |
Text |
Specifies the positioning of text within a control. Inherited from XRControl. |
Text |
Specifies how text is resized to fit a control. This property has limitations when working with other properties. |
Text |
Specifies the output format for a value bound to the label. |
Text |
Specifies the trimming mode applied to text when it does not completely fit into the label. |
Top |
Gets or sets the Y-coordinate of the control’s top edge (measured in report units). Inherited from XRControl. |
Value | Specifies a label’s actual value. |
Visible | Gets or sets a value that specifies whether the report control is displayed in the document. Inherited from XRControl. |
Width |
Specifies the control’s width (measured in report units). Inherited from XRControl. |
Word |
Indicates whether a control automatically wraps words to the beginning of the next line when necessary. Inherited from XRControl. |
Xlsx |
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). Inherited from XRControl. |
#Methods
Name | Description |
---|---|
All |
Returns a collection that contains all controls found within XRControl (within a report). Inherited from XRControl. |
Bring |
Brings the control to the front of the z-order. Inherited from XRControl. |
Create |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Inherited from Marshal |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Find |
Finds the control that has the specified name in the XRControl. |
Get |
Returns the color actually used as the control’s background color. Inherited from XRControl. |
Get |
Returns the color actually used as the control’s border color. Inherited from XRControl. |
Get |
Returns the border dash style that is actually used by the control. Inherited from XRControl. |
Get |
Returns the borders settings actually used as the control’s borders settings. Inherited from XRControl. |
Get |
Returns the border width settings actually used as the control’s current settings. Inherited from XRControl. |
Get |
Returns the font actually used as the control’s font. Inherited from XRControl. |
Get |
Returns the color actually used as the control’s foreground color. Inherited from XRControl. |
Get |
Returns the padding values actually used as the control’s padding. Inherited from XRControl. |
Get |
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. |
Get |
Returns the text alignment actually used as the control’s text alignment. Inherited from XRControl. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Perform |
Forces the control to apply layout logic to itself and all its child controls. Inherited from XRControl. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove |
Removes inappropriate bindings assigned to the XRControl‘s properties. Inherited from XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Reset |
Resets the XRControl. |
Resume |
Resumes normal layout logic for the control. Inherited from XRControl. |
Send |
Sends the control to the back of the z-order. Inherited from XRControl. |
Suspend |
Temporarily suspends the layout logic for the control. Inherited from XRControl. |
To |
Returns a graphical representation of a control. Inherited from XRControl. |
To |
Returns the graphical representation of a control created using the specified text rendering mode. Inherited from XRControl. |
To |
Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
#Events
Name | Description |
---|---|
After |
Occurs after an XRControl object is displayed in the report. Inherited from XRControl. |
Before |
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 | Occurs when an XRControl object is drawn or redrawn in a report’s Print Preview. Inherited from XRControl. |
Evaluate |
Occurs after a data-bound XRControl object obtains data from its data source. Inherited from XRControl. |
Html |
Occurs when a new item used for a Web representation of the control is created. Inherited from XRControl. |
Location |
Occurs when the value of the XRControl. |
Parent |
Occurs when the XRControl instance’s parent is changed. Inherited from XRControl. |
Preview |
Occurs when the mouse button is clicked while the cursor is hovering over one of the bricks created by the XRControl for its representation in the report preview. Inherited from XRControl. |
Preview |
Occurs when the left mouse button is double-clicked while the cursor is hovering over one of the bricks created for the control‘s representation in the report preview. Inherited from XRControl. |
Preview |
Occurs when an end-user presses the mouse button while the mouse pointer is hovering over one of the bricks created for the control‘s representation in the report preview. Inherited from XRControl. |
Preview |
Occurs when the mouse cursor moves over the control during the report’s preview. Inherited from XRControl. |
Preview |
Occurs when an end-user releases the left mouse button while the mouse pointer is hovering over one of the bricks created for the control‘s representation in the report preview. Inherited from XRControl. |
Print |
Occurs when the representation of a control is printed on the current page of the report. Inherited from XRControl. |
Size |
Occurs when the value of the XRControl. |
Summary |
Occurs when the automatic summary value of a label has been calculated. |
Summary |
Occurs when a summary gets its final value. |
Summary |
Occurs when the summary value needs to be set to its initial value when calculating a custom summary. |
Summary |
Occurs when a report retrieves the next data row in the bound data source. |
Text |
Occurs when the value of the XRControl. |
See Also