Поделиться через


Класс 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.ReportingServices.RdlObjectModel