Share via


MapLegend Class

Definition

Represents a legend to be drawn in a map.

public ref class MapLegend : Microsoft::ReportingServices::RdlObjectModel::MapDockableSubItem, Microsoft::ReportingServices::RdlObjectModel::INamedObject
public class MapLegend : Microsoft.ReportingServices.RdlObjectModel.MapDockableSubItem, Microsoft.ReportingServices.RdlObjectModel.INamedObject
type MapLegend = class
    inherit MapDockableSubItem
    interface INamedObject
Public Class MapLegend
Inherits MapDockableSubItem
Implements INamedObject
Inheritance
Implements

Constructors

MapLegend()

Initializes a new instance of the MapLegend class.

Properties

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

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)

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Returns the dependencies core for the ReportObject object.

(Inherited from ReportObject)
Initialize()

Initializes the current MapLegend instance.

InitializeForDesigner()

Initializes the report object for designer.

(Inherited from ReportObject)
OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to