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 | |
---|---|---|
MapLegend | Initializes a new instance of the MapLegend class. |
Top
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 | Gets or sets 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. Gets or sets the site associated with the ReportObject object. (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. Returns the list of report object that contains data scopes. (Inherited from ReportObject.) | |
GetDataScopesForDefaultImpl | Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.) | |
GetDependenciesCore | Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Initialize | Initializes the current MapLegend instance. (Overrides MapDockableSubItem.Initialize().) | |
InitializeForDesigner | Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.) | |
MemberwiseClone | (Inherited from Object.) | |
OnChildPropertyChanged | Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.) | |
OnPropertyChanged | Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.) | |
RdlSemanticEqualsCore | Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.) | |
SavePropertyValue<T> | Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.) | |
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.