Share via


Rectangle Class

Represents a rectangle.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          Microsoft.ReportingServices.RdlObjectModel.Rectangle

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Rectangle _
    Inherits ReportItem
'Usage
Dim instance As Rectangle
public class Rectangle : ReportItem
public ref class Rectangle : public ReportItem
type Rectangle =  
    class 
        inherit ReportItem 
    end
public class Rectangle extends ReportItem

The Rectangle type exposes the following members.

Constructors

  Name Description
Public method Rectangle Creates a new instance of the Rectangle class.

Top

Properties

  Name Description
Public property ActionInfo Gets or sets the actions that are associated with the ReportItem. (Inherited from ReportItem.)
Public property AllowInHeaderFooter Infrastructure. Gets a value that indicates whether the data region is allowed in header or footer. (Overrides ReportItem.AllowInHeaderFooter.)
Public property Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (Inherited from ReportItem.)
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property ContainedReportItems Infrastructure. Gets the contained report items in the rectangle. (Overrides ReportItem.ContainedReportItems.)
Public property CustomProperties Gets or sets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public property DataElementName Gets or sets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets or sets a value that indicates whether the rectangle should appear when rendered.
Public property DocumentMapLabel Gets or sets a label to identify an instance of a report item within the client UI, This provides a user-friendly label for searching. (Inherited from ReportItem.)
Public property DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (Inherited from ReportItem.)
Public property Height Gets or sets the height of the item. (Inherited from ReportItem.)
Public property KeepTogether Gets or sets a value that indicates whether the entire contents of the rectangle should be kept together on one page if possible.
Public property Left Gets or sets the distance of the item from the left of the containing object. (Inherited from ReportItem.)
Public property LinkToChild Gets or sets the name of a report item contained directly within this rectangle that is the target location for the Document Map label (if any).
Public property Name Gets or sets the name of the report item. (Inherited from ReportItem.)
Public property OmitBorderOnPageBreak Gets or sets a value that indicates whether the borders should not appear at locations where the rectangle spans multiple pages.
Public property PageBreak Gets or sets the page break behavior for the rectangle.
Public property PageName Gets or sets the page name.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property RepeatWith Gets or sets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (Inherited from ReportItem.)
Public property ReportItems Gets or sets a collection of report items contained within the bounds of the rectangle.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property Style Gets the style properties of this report definition object. (Inherited from ReportElement.)
Public property ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (Inherited from ReportItem.)
Public property ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (Inherited from ReportItem.)
Public property Top Gets or sets the distance of the item from the top of the containing object. (Inherited from ReportItem.)
Public property Visibility Gets or sets the current visibility state of this report object. (Inherited from ReportItem.)
Public property Width Gets or sets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
Public property ZIndex Gets or sets the drawing order of the report item within the containing object. (Inherited from ReportItem.)

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes an instance of the Rectangle class. (Overrides ReportItem.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the properties of an instance of the ReportItem class for the designer. (Inherited from ReportItem.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member AllowTypeInHeaderFooter Infrastructure. Allows types in header footer.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace