Property Color
Color
Gets or sets the color of a solid fill symbol layer.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The color of a solid fill symbol layer. |
Remarks
A Color representing the color used in the solid fill. If a color is not explicitly set, the default will be black, ARGB(255, 0, 0, 0).
When getting the color from a symbol, the consensus value (for all layers) is reported.
If there is no consensus (one or more layers have different colors), a
If you don't want changes to the symbol color to propagate to some of the symbol layers it contains, you can lock the color for those layers. If a symbol layer is color-locked, changes to the parent symbol will not affect the symbol layer. This also means that the layer will not be considered when determining a consensus color for the symbol as a whole.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.5 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.5 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.5 - 100.15 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 100.15 |