dotnetCHARTING Send comments on this topic.
PaletteName Property
See Also 
dotnetCHARTING.Mapping Namespace > MapLayer Class : PaletteName Property


Gets or sets a Palette enumeration that indicates which static palette will be used by the shapes of this MapLayer.

Syntax

Visual Basic (Declaration) 
Public Property PaletteName As Palette
Visual Basic (Usage)Copy Code
Dim instance As MapLayer
Dim value As Palette
 
instance.PaletteName = value
 
value = instance.PaletteName
C# 
public Palette PaletteName {get; set;}

Remarks

When setting this property, each shape will get it's own color. Whereas by default, all shapes within a mapLayer take their color from MapLayer.DefaultShape.Background.Color.

See Also