Del via


MapLegend Class

Represents a legend to be drawn in a map.

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 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. (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. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. (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. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.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.