MapLegend 类

Represents a legend to be drawn in a map.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.MapSubItem
        Microsoft.ReportingServices.RdlObjectModel.MapDockableSubItem
          Microsoft.ReportingServices.RdlObjectModel.MapLegend

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class MapLegend _
    Inherits MapDockableSubItem _
    Implements INamedObject
用法
Dim instance As MapLegend
public class MapLegend : MapDockableSubItem, INamedObject
public ref class MapLegend : public MapDockableSubItem, 
    INamedObject
type MapLegend =  
    class 
        inherit MapDockableSubItem 
        interface INamedObject 
    end
public class MapLegend extends MapDockableSubItem implements INamedObject

MapLegend 类型公开以下成员。

构造函数

  名称 说明
公共方法 MapLegend Initializes a new instance of the MapLegend class.

页首

属性

  名称 说明
公共属性 ActionInfo Gets or sets a set of actions for the dockable item. (从 MapDockableSubItem 继承。)
公共属性 AutoFitTextDisabled Indicates whether text autosizing is disabled.
公共属性 BottomMargin Gets or sets the bottom margin for the subitem. (从 MapSubItem 继承。)
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 DockOutsideViewport Indicates whether the dockable item will be docked outside a map viewport. (从 MapDockableSubItem 继承。)
公共属性 EquallySpacedItems Indicates whether legend items will be equally spaced.
公共属性 Hidden Indicates whether the dockable item will be hidden. (从 MapDockableSubItem 继承。)
公共属性 InterlacedRows Indicates whether the legend rows will use interlaced colors.
公共属性 InterlacedRowsColor Gets or sets the color of the interlaced rows in the map legend.
公共属性 Layout Gets or sets the arrangement of labels in the map legend.
公共属性 LeftMargin Gets or sets the left margin for the subitem. (从 MapSubItem 继承。)
公共属性 MapLegendTitle Gets or sets a title for the map legend.
公共属性 MapLocation Gets or sets the ___location of the subitem. (从 MapSubItem 继承。)
公共属性 MapSize Gets or sets the size of the subitem. (从 MapSubItem 继承。)
公共属性 MinFontSize Gets or sets the minimum font size for the auto-sizing algorithm of the legend text.
公共属性 Name Gets or sets a name for the map legend.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 Position Gets or sets the position of the dockable item in the map. (从 MapDockableSubItem 继承。)
公共属性 RightMargin Gets or sets the right margin for the subitem. (从 MapSubItem 继承。)
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 Style Gets or sets style information for the subitem. (从 MapSubItem 继承。)
公共属性 TextWrapThreshold Gets or sets the number of characters after which to wrap the legend text.
公共属性 ToolTip Gest or sets the tooltip text for the dockable item. (从 MapDockableSubItem 继承。)
公共属性 TopMargin Gets or sets the top margin for the subitem. (从 MapSubItem 继承。)
公共属性 ZIndex Gets or sets the drawing order of the subitem. (从 MapSubItem 继承。)

页首

方法

  名称 说明
公共方法 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 the current MapLegend instance. (覆盖 MapDockableSubItem.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 命名空间