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 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

字段

  名称 说明
受保护字段 m_instance 基础结构。 (从 ChartObjectCollectionItem<T> 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。