共用方式為


ChartLegend 類別

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

繼承階層

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.ChartObjectCollectionItem<ChartLegendInstance>
    Microsoft.ReportingServices.OnDemandReportRendering.ChartLegend

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public NotInheritable Class ChartLegend _
    Inherits ChartObjectCollectionItem(Of ChartLegendInstance) _
    Implements IROMStyleDefinitionContainer
'用途
Dim instance As ChartLegend
public sealed class ChartLegend : ChartObjectCollectionItem<ChartLegendInstance>, 
    IROMStyleDefinitionContainer
public ref class ChartLegend sealed : public ChartObjectCollectionItem<ChartLegendInstance^>, 
    IROMStyleDefinitionContainer
[<SealedAttribute>]
type ChartLegend =  
    class 
        inherit ChartObjectCollectionItem<ChartLegendInstance>
        interface IROMStyleDefinitionContainer 
    end
public final class ChartLegend extends ChartObjectCollectionItem<ChartLegendInstance> implements IROMStyleDefinitionContainer

ChartLegend 型別公開下列成員。

屬性

  名稱 說明
公用屬性 AutoFitTextDisabled Gets an expression that evaluates to a value that indicates whether text will not be autosized to fit in the legend area.
公用屬性 ChartElementPosition Gets a custom position for the legend.
公用屬性 ColumnSeparator Gets an expression that evaluates to a value that indicates what type of separator to use for the columns.
公用屬性 ColumnSeparatorColor Gets an expression that evaluates to the color to use for the column separator.
公用屬性 ColumnSpacing Gets an expression that evaluates to the spacing between columns as a percent of the font size.
公用屬性 DockOutsideChartArea Gets an expression that evaluates to a value that indicates whether the title should be docked outside the chart area rather than inside the chart area.
公用屬性 DockToChartArea Gets the name of the chart area on which to draw the legend.
公用屬性 EquallySpacedItems Gets an expression that evaluates to a value that indicates whether legend items should be equally spaced.
公用屬性 HeaderSeparator Gets an expression that evaluates to the type of separator to use for the legend header.
公用屬性 HeaderSeparatorColor Gets an expression that evaluates to the color to use for the legend header separator.
公用屬性 Hidden Gets an expression that evaluates to a value that indicates whether the legend is hidden.
公用屬性 Instance Gets the report instance object that contains the calculated values of this report definition object.
公用屬性 InterlacedRows Gets an expression that evaluates to a value that indicates whether legend rows should use interlaced colors.
公用屬性 InterlacedRowsColor Gets an expression that evaluates to the background color to use for interlaced legend rows.
公用屬性 Layout Gets an expression that evaluates to the arrangement of labels within the legend.
公用屬性 LegendColumns Gets the legend columns.
公用屬性 LegendCustomItems Gets the custom legend items.
公用屬性 LegendTitle Gets the legend title.
公用屬性 MaxAutoSize Gets an expression that evaluates to the maximum size for the legend, as a percent of the chart size.
公用屬性 MinFontSize Gets an expression that evaluates to the minimum size for autosized legend text.
公用屬性 Name Gets the name of the chart legend.
公用屬性 Position Gets an expression that evaluates to the position of the legend.
公用屬性 Reversed Gets an expression that evaluates to a value that indicates the direction of the legend should be reversed.
公用屬性 Style Gets the style properties of this report definition object.
公用屬性 TextWrapThreshold Gets an expression that evaluates to the number of characters after which to wrap the legend text.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

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

請參閱

參考

Microsoft.ReportingServices.OnDemandReportRendering 命名空間