Back to Devexpress

XRLabel Properties

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-dot-underscore-properties.md

latest21.5 KB
Original Source

XRLabel Properties

A Label control.

NameDescription
AccessibleDescriptionBindable. Gets or sets the description of a control used by assistive technologies. Inherited from XRControl.
AccessibleRoleSpecifies the role of XRLabel and XRTableCell in the exported PDF document. This value is used by assistive technologies.
ActionSpecifies the action assigned to the control. Inherited from XRControl.
AllowMarkupTextGets or sets whether you can use HTML-style markup tags to format the control’s text.
AnchorHorizontalSpecifies the horizontal anchoring type of a report control. Inherited from XRControl.
AnchorVerticalSpecifies the vertical anchoring style of a report control. Inherited from XRControl.
AngleGets or sets the angle by which XRLabel text is rotated.
AutoWidthSpecifies whether or not the width of a label depends on its text.
BackColorGets or sets a control’s background color. Inherited from XRControl.
BandProvides access to the owner band, in which the current control is situated. Inherited from XRControl.
BookmarkBindable. Gets or sets the text of a bookmark for this control. Inherited from XRControl.
BookmarkParentGets or sets the report control whose bookmark is the parent of the current bookmark. Inherited from XRControl.
BorderColorGets or sets the control’s border color. Inherited from XRControl.
BorderDashStyleSpecifies the dash style for the control’s border. Inherited from XRControl.
BordersSpecifies a set of borders (top, right, bottom, left) that should be visible for the control. Inherited from XRControl.
BorderWidthSpecifies the width of cell borders in pixels, as a floating point value. Inherited from XRControl.
BottomFGets the Y-coordinate of the control’s bottom edge (measured in report units). Inherited from XRControl.
BoundsFSpecifies the location and size of a report element, according to the system of measurement selected for the report. Inherited from XRControl.
CanGrowGets or sets a value indicating whether the label’s height can grow in order to display contents in their entirety.
CanHaveChildrenGets a value indicating whether the control can contain other controls. Inherited from XRControl.
CanPublishOptionsSpecifies report control visibility on printouts and in documents exported to specific formats. Inherited from XRControl.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CanShrinkGets or sets a value indicating whether the label’s height can decrease if its text does not completely fill the control.
ContainerGets the IContainer that contains the Component. Inherited from Component.
ControlsGets the collection of XRControl objects or their descendants that are contained in this control. Inherited from XRControl.
DataBindingsProvides access to the collection of a control’s bindings. Inherited from XRControl.
DefaultPadding staticReturns an object representing the default padding value for the XRLabel class.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EditOptionsProvides access to options that define whether and how a control’s content can be edited in Print Preview.
EvenStyleNameGets or sets the style applied to the control when it displays an even record from the bound data source. Inherited from XRControl.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
ExpressionBindingsProvides access to a control’s collection of expression bindings. Inherited from XRControl.
FontGets or sets the control’s font. Inherited from XRControl.
ForeColorGets or sets the control’s foreground color. Inherited from XRControl.
FormattingRulesProvides access to a collection of formatting rules applied to this control. Inherited from XRControl.
HasChildrenGets a value indicating whether the control contains other XRControl objects. Inherited from XRControl.
HeightFSpecifies the control’s height (measured in report units). Inherited from XRControl.
IndexGets the zero-based index of this control in its parent’s collection of controls. Inherited from XRControl.
InteractiveSortingEnables sorting a report in Print Preview by clicking the XRLabel.
IsDisposedFor internal use. Gets a value indicating whether the control has been disposed of. Inherited from XRControl.
IsSingleChildChecks whether the report element (control or band) is a single child of its parent. Inherited from XRControl.
KeepTogetherOverrides the XRControl.KeepTogether property.
LeftFSpecifies the X-coordinate of the control’s left edge (measured in report units). Inherited from XRControl.
LineSpacingGets or sets the spacing between lines of text in an XRLabel or XRTableCell.
LocationFSpecifies the floating-point representation of the coordinates of the control’s upper-left corner. Inherited from XRControl.
LocationFloatFor internal use. Supports serialization of the XRControl.LocationF property. Inherited from XRControl.
LockedInUserDesignerGets or sets a value that specifies whether this control can be changed by an end-user in the End-User Designer. Inherited from XRControl.
MultilineGets or sets whether carriage return (CRLF) characters split the label’s text into multiple lines.
NameGets or sets a name of the control. Inherited from XRControl.
NavigateUrlBindable. Specifies the URL to navigate to when a control is clicked. Inherited from XRControl.
NullValueTextSpecifies the text shown by the XRLabel when the value of its bound data field is null.
OddStyleNameGets or sets the style applied to the control when it displays an odd record from the bound data source. Inherited from XRControl.
PaddingGets or sets the control’s padding values (measured in report units). Inherited from XRControl.
ParentSpecifies the parent object that contains the current control. Inherited from XRControl.
ProcessDuplicatesModeSpecifies how to process a XRLabel control with duplicate values. See the ProcessDuplicatesMode enumeration description for information on the different duplicate processing modes.
ProcessDuplicatesTargetSpecifies whether to process duplicate values of the XRControl.Text, or XRControl.Tag property.
ProcessNullValuesSpecifies how to process a XRLabel control with null values. See the ValueSuppressType enumeration description for information on how different modes process null values.
ReportProvides access to the report that contains the control. Inherited from XRControl.
RightFGets the X-coordinate of the control’s right edge (measured in report units). Inherited from XRControl.
RightToLeftSpecifies the orientation of the XRLabel‘s content.
RootReportProvides access to the report to which the control belongs. Inherited from XRControl.
ScriptsProvides access to an object that contains XRLabel-specific scripts to handle its events in the End-User Report Designer.
SiteGets or sets the ISite of the Component. Inherited from Component.
SizeFGets or sets the size of the control. Inherited from XRControl.
SnapLineMarginSpecifies the control’s margins that are maintained when the control is aligned using snap lines. Inherited from XRControl.
StyleNameGets or sets the name of the style, which is applied to the current control. Inherited from XRControl.
StylePriorityAllows 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.
StylesGets a set of styles for the control. Inherited from XRControl.
SummaryGets the value that was calculated for the data source field bound to the XRControl.Text property of the given label.
TagBindable. Gets or sets the object that contains data about this control. Inherited from XRControl.
TargetSpecifies the target window or frame in which to display the linked Web page’s content, when the control is clicked. Inherited from XRControl.
TextBindable. Specifies the control’s text. Inherited from XRFieldEmbeddableControl.
TextAlignmentSpecifies the positioning of text within a control. Inherited from XRControl.
TextFitModeSpecifies how text is resized to fit a control. This property has limitations when working with other properties.
TextFormatStringSpecifies the output format for a value bound to the label.
TextTrimmingSpecifies the trimming mode applied to text when it does not completely fit into the label.
TopFGets or sets the Y-coordinate of the control’s top edge (measured in report units). Inherited from XRControl.
ValueSpecifies a label’s actual value.
VisibleGets or sets a value that specifies whether the report control is displayed in the document. Inherited from XRControl.
WidthFSpecifies the control’s width (measured in report units). Inherited from XRControl.
WordWrapIndicates whether a control automatically wraps words to the beginning of the next line when necessary. Inherited from XRControl.
XlsxFormatStringSpecifies 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.

See Also

XRLabel Class

XRLabel Members

DevExpress.XtraReports.UI Namespace