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.
Properties
| Name | Description | |
|---|---|---|
![]() |
ActionInfo | Gets or sets a set of actions for the dockable item. (Inherited from MapDockableSubItem.) |
![]() |
AutoFitTextDisabled | Indicates whether text autosizing is disabled. |
![]() |
BottomMargin | Gets or sets the bottom margin for the subitem. (Inherited from MapSubItem.) |
![]() |
ComponentMetadata | The component metadata. (Inherited from ReportObject.) |
![]() |
DockOutsideViewport | Indicates whether the dockable item will be docked outside a map viewport. (Inherited from MapDockableSubItem.) |
![]() |
EquallySpacedItems | Indicates whether legend items will be equally spaced. |
![]() |
Hidden | Indicates whether the dockable item will be hidden. (Inherited from 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. (Inherited from MapSubItem.) |
![]() |
MapLegendTitle | Gets or sets a title for the map legend. |
![]() |
MapLocation | Gets or sets the location of the subitem. (Inherited from MapSubItem.) |
![]() |
MapSize | Gets or sets the size of the subitem. (Inherited from 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. (Inherited from ReportObjectBase.) |
![]() |
Position | Gets or sets the position of the dockable item in the map. (Inherited from MapDockableSubItem.) |
![]() |
RightMargin | Gets or sets the right margin for the subitem. (Inherited from MapSubItem.) |
![]() |
Site | Infrastructure. (Inherited from ReportObject.) |
![]() |
Style | Gets or sets style information for the subitem. (Inherited from 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. (Inherited from MapDockableSubItem.) |
![]() |
TopMargin | Gets or sets the top margin for the subitem. (Inherited from MapSubItem.) |
![]() |
ZIndex | Gets or sets the drawing order of the subitem. (Inherited from MapSubItem.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
DeepClone | Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetContainingDataScopes | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDataScopesForDefaultImpl | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDependenciesCore | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Initialize | Initializes the current MapLegend instance. (Overrides MapDockableSubItem.Initialize().) |
![]() |
InitializeForDesigner | Infrastructure. (Inherited from ReportObject.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnChildPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
OnPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
RdlSemanticEqualsCore | Infrastructure. (Inherited from ReportObject.) |
![]() |
SavePropertyValue<T> | Infrastructure. (Inherited from ReportObject.) |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IDisposable.Dispose | (Inherited from ReportObject.) |
![]() ![]() |
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.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)