共用方式為


TextBox Class

Definition

Represents a text box.

public ref class TextBox sealed : Microsoft::ReportingServices::OnDemandReportRendering::ReportItem
public sealed class TextBox : Microsoft.ReportingServices.OnDemandReportRendering.ReportItem
type TextBox = class
    inherit ReportItem
Public NotInheritable Class TextBox
Inherits ReportItem
Inheritance

Fields

m_bookmark

The bookmark item.

(Inherited from ReportItem)
m_cachedHeight

The cached height item.

(Inherited from ReportItem)
m_cachedWidth

The cached width item.

(Inherited from ReportItem)
m_definitionPath

The definition path item.

(Inherited from ReportItem)
m_documentMapLabel

The map label item.

(Inherited from ReportItem)
m_instance

The instance item.

(Inherited from ReportItem)
m_inSubtotal

The subtotal item.

(Inherited from ReportItem)
m_isListContentsRectangle

The list contents rectangle item.

(Inherited from ReportItem)
m_isOldSnapshot

Specifies whether to use the old snapshot of the report element.

(Inherited from ReportElement)
m_parentDefinitionPath

Specifies the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
m_startHidden

The start hidden item.

(Inherited from ReportItem)
m_style

Specifies the style properties of this report definition object.

(Inherited from ReportElement)
m_toolTip

The tootltip item.

(Inherited from ReportItem)

Properties

ActionInfo

Gets the actions associated with this text box.

Bookmark

Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action.

(Inherited from ReportItem)
CanGrow

Gets a value that indicates whether the text box height can be increased to accommodate the contents.

CanScrollVertically

Gets a Boolean value that indicates whether the text box can have a vertical scroll bar to accommodate the contents.

CanShrink

Gets a value that indicates whether the text box height can be decreased to match the contents.

CanSort

Gets a Boolean value that indicates whether the text box can be sorted.

CustomProperties

Gets the custom information to be handed to the report rendering component.

(Inherited from ReportItem)
DataElementName

Gets the name to use for the data element/attribute for this report item.

(Inherited from ReportItem)
DataElementOutput

Gets a value that indicates whether the item should appear in a data rendering.

(Inherited from ReportItem)
DataElementStyle

Gets the style of data element for the text box.

DefinitionPath

Gets the path to this report definition object in the report definition.

(Inherited from ReportItem)
DocumentMapLabel

Gets an expression that evaluates to a label to identify an instance of a report item within the client UI (to provide a user-friendly label for searching).

(Inherited from ReportItem)
FormattedValueExpressionBased

Gets a value that indicates whether the formatted text box value is expression-based.

Height

Gets the height of the item.

(Inherited from ReportItem)
HideDuplicates

Gets a value that indicates whether the duplicate text should not be displayed when the value of the expression associated with the report item is the same as the preceding visible instance.

ID

Gets the unique identifier for this report definition object.

(Inherited from ReportItem)
Instance

Gets the report instance object that contains the calculated values of this report definition object.

(Inherited from ReportItem)
IsSimple

Gets a Boolean value that indicates whether this is a simple text box.

IsToggleParent

Gets a value that indicates whether the text box is used to toggle other items on the report.

KeepTogether

Gets a value that indicates whether the entire contents of the text box should be kept together on one page if possible.

Left

Gets the distance of the item from the left of the containing object.

(Inherited from ReportItem)
LinkToChild

Gets the index of the report item that should be linked to, using the document map, instead of the current item.

(Inherited from ReportItem)
Name

Gets the descriptive name of the report item.

(Inherited from ReportItem)
Paragraphs

Gets the collection of paragraph elements.

ParentDefinitionPath

Gets the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
RepeatedSibling

Gets a Boolean value that indicates whether this report item has a specified RepeatWith property.

(Inherited from ReportItem)
RepeatWith

Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages.

(Inherited from ReportItem)
SharedTypeCode

Gets the type of data contained in the text box that is shared across the report.

Style

Gets the style properties of this report definition object.

ToolTip

Gets an expression that evaluates to a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports.

(Inherited from ReportItem)
Top

Gets the distance of the item from the top of the containing object.

(Inherited from ReportItem)
UniqueName

Gets the unique name of the text box.

Visibility

Gets the current visibility state of this report object.

(Inherited from ReportItem)
Width

Gets the width of the item. Negative sizes allowed only for lines.

(Inherited from ReportItem)
ZIndex

Gets the drawing order of the report item within the containing object. Items with lower indices should be drawn first (appearing behind items with higher indices).

(Inherited from ReportItem)

Methods

CreateCustomProperty()

Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items.

(Inherited from ReportItem)

Applies to