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

Gets or sets an array of colors that defines the colors that will be used by the shapes of this MapLayer.


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


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

© 2018 All Rights Reserved.