[]
Defines the appearance rule for spatial elements based on a data field
public abstract class MapAppearanceRule
Name | Description |
---|---|
MapAppearanceRule() | Initializes a new instance of the MapAppearanceRule class. |
Name | Description |
---|---|
BucketCount | Defines the number of buckets for the specified distribution. Ignored if DistributionType is Custom or if DataValue is not Scalar. An expression should evaluate to an int. The default value is 5 |
DataElementName | The name to use for the data element/attribute for this value. Must be a CLS-compliant identifier. |
DataElementOutput | Gets or sets whether the item should appear in a data rendering. That evaluates to one of DataElementOutput. The default value is Output. |
DataValue | An expression to be evaluated on the scope of the spatial element. The appearance rule will be applied on the element based on its value. |
DistributionType | Gets or sets the distribution type. That evaluates to one of the values in MapRuleDistributionType. The default value is Optimal. |
EndValue | Gets or sets the end value for the distribution. Automatically calculated if omitted. Ignored if DistributionType = Custom. |
LegendName | Name of the legend in which the data field will appear. |
LegendText | Label to use in the legend for the data field. |
MapBuckets | Gets the set of buckets used to distribute the data. Mandatory if DistributionType = Custom, otherwise ignored. |
StartValue | Gets or sets the start value for the distribution. Automatically calculated if omitted. Ignored if DistributionType = Custom. |
Name | Description |
---|---|
GetExpressions() | Gets the expressions. |