共用方式為


ChartLegend 類別

Represents the properties that can be used to display instances of the series groups in a chart legend.

繼承階層

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ChartLegend

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Class ChartLegend _
    Inherits ReportObject _
    Implements INamedObject
'用途
Dim instance As ChartLegend
public class ChartLegend : ReportObject, 
    INamedObject
public ref class ChartLegend : public ReportObject, 
    INamedObject
type ChartLegend =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class ChartLegend extends ReportObject implements INamedObject

ChartLegend 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ChartLegend Creates a new instance of the ChartLegend class.

上層

屬性

  名稱 說明
公用屬性 AutoFitTextDisabled Indicates text will not be autosized to fit in the legend area.
公用屬性 ChartElementPosition Defines a custom position for the legend.
公用屬性 ChartLegendColumns Gets the legend columns.
公用屬性 ChartLegendTitle Title display in the legend.
公用屬性 ColumnSeparator Indicates what type of separator to use for the columns.
公用屬性 ColumnSeparatorColor Indicates what color to use for the column separator.
公用屬性 ColumnSpacing Spacing between columns as a percent of the font size.
公用屬性 ComponentMetadata Gets or sets the component metadata. (繼承自 ReportObject。)
公用屬性 DockOutsideChartArea Indicates the title should be docked outside the chart area rather than inside the chart area.
公用屬性 DockToChartArea Name of the chart area on which to draw the legend.
公用屬性 EquallySpacedItems Indicated legend items should be equally spaced.
公用屬性 HeaderSeparator Indicates what type of separator to use for the legend header.
公用屬性 HeaderSeparatorColor Indicates what color to use for the legend header separator.
公用屬性 Hidden Indicates the legend is hidden.
公用屬性 InterlacedRows Indicates legend rows should use interlaced colors.
公用屬性 InterlacedRowsColor The background color to use for interlaced legend rows.
公用屬性 Layout The arrangement of labels within the legend.
公用屬性 MaxAutoSize Maximum size for the legend, as a percent of the chart size.
公用屬性 MinFontSize Minimum size for autosized legend text.
公用屬性 Name Name of the legend.
公用屬性 Parent The parent of this report object. (繼承自 ReportObjectBase。)
公用屬性 Position The position of the legend.
公用屬性 Reversed Indicates the direction of the legend should be reversed.
公用屬性 Site 基礎結構。Gets or sets the site associated with the ReportObject object. (繼承自 ReportObject。)
公用屬性 Style Gets the style properties of this report definition object.
公用屬性 TextWrapThreshold Number of characters after which to wrap the legend text.

上層

方法

  名稱 說明
公用方法 DeepClone Returns a deep clone of this ReportObject instance. (繼承自 ReportObject。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetContainingDataScopes 基礎結構。Returns the list of report object that contains data scopes. (繼承自 ReportObject。)
受保護的方法 GetDataScopesForDefaultImpl 基礎結構。Returns the data scopes for default implementation. (繼承自 ReportObject。)
受保護的方法 GetDependenciesCore 基礎結構。Returns the dependencies core for the ReportObject object. (繼承自 ReportObject。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 Initialize Initializes an instance of the ChartLegend class. (覆寫 ReportObject.Initialize()。)
受保護的方法 InitializeForDesigner 基礎結構。Initializes the report object for designer. (繼承自 ReportObject。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 OnChildPropertyChanged 基礎結構。Raises an event when the property of the child was changed. (繼承自 ReportObject。)
受保護的方法 OnPropertyChanged 基礎結構。Raises an event when the property was changed. (繼承自 ReportObject。)
受保護的方法 RdlSemanticEqualsCore 基礎結構。Returns whether the report definition language semantic is the same with the core object. (繼承自 ReportObject。)
受保護的方法 SavePropertyValue<T> 基礎結構。Saves the property value of the report object. (繼承自 ReportObject。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IDisposable.Dispose 基礎結構。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (繼承自 ReportObject。)
明確介面實作私用事件 IComponent.Disposed 基礎結構。Occurs when the ReportObject object is disposed. (繼承自 ReportObject。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.ReportingServices.RdlObjectModel 命名空間