Share via


MapColorRule Class

Represents a color rule in the map.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.MapAppearanceRule
        Microsoft.ReportingServices.RdlObjectModel.MapColorRule
          Microsoft.ReportingServices.RdlObjectModel.MapColorPaletteRule
          Microsoft.ReportingServices.RdlObjectModel.MapColorRangeRule
          Microsoft.ReportingServices.RdlObjectModel.MapCustomColorRule

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

Syntax

'Declaration
Public MustInherit Class MapColorRule _
    Inherits MapAppearanceRule
'Usage
Dim instance As MapColorRule
public abstract class MapColorRule : MapAppearanceRule
public ref class MapColorRule abstract : public MapAppearanceRule
[<AbstractClassAttribute>]
type MapColorRule =  
    class 
        inherit MapAppearanceRule 
    end
public abstract class MapColorRule extends MapAppearanceRule

The MapColorRule type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property BucketCount Gets or sets the number of buckets in the MapAppearanceRule. (Inherited from MapAppearanceRule.)
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property DataElementName Gets or sets the name to use for the data element or attribute for DataValue. (Inherited from MapAppearanceRule.)
Public property DataElementOutput Indicates whether the appearance rule elements will appear in a data rendering. (Inherited from MapAppearanceRule.)
Public property DataValue Gets or sets an expression to be evaluated on the scope of a map item in a map polygon layer, a map point layer, or a map line layer. (Inherited from MapAppearanceRule.)
Public property DistributionType Gets or sets the rule distribution type. (Inherited from MapAppearanceRule.)
Public property EndValue Gets or sets the end value in the data distribution. (Inherited from MapAppearanceRule.)
Public property LegendName Gets or sets the name of the Legend in which the data distribution is displayed. (Inherited from MapAppearanceRule.)
Public property LegendText Gets or sets the label to be displayed for the map distribution in the legend. (Inherited from MapAppearanceRule.)
Public property MapBuckets Gets or sets a custom set of map buckets to be used for data distribution. (Inherited from MapAppearanceRule.)
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property ShowInColorScale Indicates whether the colors that are assigned to map items will be displayed in the map color scale.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property StartValue Gets or sets the start value in the data distribution. (Inherited from MapAppearanceRule.)

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 MapColorRule instance. (Overrides MapAppearanceRule.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