ReportItemBase
Defines the base class for visual report items used for creating reports.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[ToolboxBitmap(typeof(ReportItemBase), "Resources.ReportItemBase.bmp")]
public abstract class ReportItemBase : ReportObject, IToggleVisibilityTarget, IActionTarget
Inheritance: objectReportObjectReportItemBase
Derived Classes:
Implements:
Inherited Members
Constructors
TODO: Add documentation.
protected ReportItemBase()
Properties
AccessibleDescription
string
Gets or sets the accessible description for the current report item.
public string AccessibleDescription { get; set; }
AccessibleRole
string
Gets or sets the accessible role for the current report item.
public string AccessibleRole { get; set; }
Gets or sets an interactive action associated with this report item.
public virtual IAction Action { get; set; }
AIDescription
string
Gets or sets the current report item's AI description, adding context for the model used in the GenAI-powered preview insights.
public string AIDescription { get; set; }
Gets the collection of binding rules contained within the report item.
public BindingCollection Bindings { get; }
An collection of Binding instances representing the list of property bindings defined within the item.
Bookmark
string
Gets or sets a bookmark label to be displayed for this report item.
[Obsolete("Please use BookmarkId and DocumentMapText instead.")]
[Browsable(false)]
public string Bookmark { get; set; }
A string / expression value specifying the bookmark label.
BookmarkId
string
Gets or sets a bookmark id for this item.
public string BookmarkId { get; set; }
A string started with "=" is interpreted as an expression to calculate the resulting id, otherwise - literal string. Supports embedded expressions also. When processed should evaluate to an unique value for each processing instance of the item. Any duplicated occurrences at runtime get modified in order to avoid duplication in the resulting report.
BookmarkId must be used along with NavigateToBookmarkAction interactive action in order to specify the target of the action.
Gets the collection of the conditional formatting rules, associated with this item.
public ConditionalFormatting ConditionalFormatting { get; }
Container
IContainer
TODO: Add documentation.
[Browsable(false)]
public virtual IContainer Container { get; }
DesignMode
bool
TODO: Add documentation.
[Browsable(false)]
public virtual bool DesignMode { get; }
DocumentMapText
string
Gets or sets a text to be displayed for this item in the document map.
public string DocumentMapText { get; set; }
A string started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.
When defined the document map displays nodes that navigate to the instances of the item.
Gets or sets the name of the method that should be called when the ItemDataBinding event is triggered.
[AIAssistantExclude("")]
public string ItemDataBindingMethodName { get; set; }
A string value identifying the name of the method from the source assembly.
ItemDataBoundMethodName
string
Gets or sets the name of the method that should be called when the ItemDataBinding event is triggered.
public string ItemDataBoundMethodName { get; set; }
A string value identifying the name of the method from the source assembly.
Gets the collection of report items contained within the report item.
[Browsable(false)]
[AIAssistantInclude("DetailSection, PageHeaderSection, PageFooterSection, GroupHeaderSection, GroupFooterSection, Panel, Table, List, Crosstab")]
public ReportItemBase.ItemCollection Items { get; }
An ReportItemBase.ItemCollection representing the collection of items contained within the item.
Name
string
Gets or sets the name of the report item.
[Browsable(false)]
[AIAssistantRequired]
public string Name { get; set; }
The name of the report item.
Implements:
The Name property can be used at run time to evaluate the object by name rather than type and programmatic name.
Gets or sets the parent container of the report item.
[Browsable(false)]
public ReportItemBase Parent { get; set; }
A ReportItemBase that represents the parent item of the report item.
Setting the Parent property value to a null reference (Nothing in Visual Basic) removes the item from the ReportItemBase.ItemCollection of its current parent item.
Gets the report this item belongs to.
[Browsable(false)]
public Report Report { get; }
A Report object which the item belongs to.
Site
ISite
TODO: Add documentation.
[Browsable(false)]
public virtual ISite Site { get; set; }
StyleName
string
Gets or sets the name of the report item's global style.
public string StyleName { get; set; }
A string value specifying the style name.
Global styles are defined through the Report's StyleSheet property.
TocLevel
string
Gets or sets the level for this item in the table of contents.
public string TocLevel { get; set; }
A string started with "=" is interpreted as an expression to calculate the actual level, otherwise - literal integer. Supports embedded expressions also.
Takes effect when the current item has TocText defined and sets its level to an explicit value. If omitted, the level is calculated automatically based on the report's item hierarchy.
TocText
string
Gets or sets a text to be displayed for this item in the table of contents.
public string TocText { get; set; }
A string started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.
When defined the table of contents displays nodes that navigate to the instances of the item.
Gets the tooltip associated with the current report item.
public ToolTip ToolTip { get; }
Visible
bool
Gets or sets a value indicating whether the report item is displayed.
public bool Visible { get; set; }
true if the report item is displayed; otherwise, false. The default is true.
Methods
TODO: Add documentation.
protected void ClearGlobalDependencies()
Retrieves a value indicating whether the specified report item is a child of the report item.
public bool Contains(ReportItemBase item)
The ReportItemBase to evaluate.
Returns:bool
true if the specified report item is a child of the report item; otherwise, false.
TODO: Add documentation.
public void Dispose()
TODO: Add documentation.
protected virtual void Dispose(bool disposing)
GetEventHandlers(EventHandler)
Delegate[]
TODO: Add documentation.
protected static Delegate[] GetEventHandlers(EventHandler eventHandler)
Delegate[]
TODO: Add documentation.
ToString()
string
Returns a string that represents the current ReportItemBase.
public override string ToString()
string
A String that contains the Name and the Type's FullName of the current ReportItemBase.
Overrides:
Events
Disposed
EventHandler
Occurs when the report item is disposed.
public event EventHandler Disposed
ItemDataBinding
EventHandler
Occurs when the report item binds to a data source.
public event EventHandler ItemDataBinding
ItemDataBound
EventHandler
Occurs after the report item binds to a data source.
public event EventHandler ItemDataBound