Share via


MapLegend Class

Represents a legend to be drawn in a map.

Inheritance Hierarchy

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

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class MapLegend _
    Inherits MapDockableSubItem _
    Implements INamedObject
'Usage
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

The MapLegend type exposes the following members.

Constructors

  Name Description
Public method MapLegend Initializes a new instance of the MapLegend class.

Top

Properties

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

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the current MapLegend instance. (Overrides MapDockableSubItem.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace