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.


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
public Palette PaletteName {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

© 2010 All Rights Reserved.