A base class for multilayer symbols. Multilayer symbols are built from multiple layers of symbols, which combine to let you add complex symbols to maps and scenes.
public abstract class MultilayerSymbol : Symbol, INotifyPropertyChanged
Multilayer symbols can be returned from feature layers based on web maps, feature services (with Use Advanced Symbology set to true), or mobile map packages, and can also be created from JSON by calling FromJson(String). The same multilayer symbols and the components used to build them are available in ArcGIS Runtime, allowing you to programmatically create and change them using the MultilayerPointSymbol, MultilayerPolylineSymbol, and MultilayerPolygonSymbol subclasses. You can access the layers that comprise the symbol through SymbolLayers. You can modify symbol layer properties, such as the color of a multilayer symbol. Some subclasses also expose additional symbol properties.
The symbol layers that comprise the symbol can be of different types. For example, a polyline geometry may be drawn with a MultilayerPolylineSymbol that has line (stroke) symbol layers that draw the line geometry, and also point (marker) symbol layers that are drawn at specified point locations relative to the line geometry. When you save an ArcGIS Pro map as a web map, any multilayer symbols in the map are converted to simple symbols. In general, point symbols are converted to picture marker symbols optimized for the web, and line and polygon symbols are simplified while representing the original symbol as closely as possible. If you're authoring a feature service from ArcGIS Pro or ArcGIS Desktop, however, both the original symbols and the simplified symbols are stored. The stored symbols allow clients that support advanced symbols to render the features as originally symbolized, while those that do not support advanced symbols (such as ArcGIS Online Map Viewer) can use the simple symbols for display. Having both sets of symbols allows you to retain the advanced symbology where available and still share the feature service as widely as possible. Symbols used by web scenes are also multilayer but use a different specification than the ArcGIS Pro and ArcGIS Runtime symbols. When you read symbols from a web scene in your ArcGIS Runtime app, you get an ArcGIS Runtime representation of the multilayer symbol. Symbol layers in an ArcGIS Runtime multilayer symbol are in reverse order of how they appear in the JSON representation from the server.
Gets or sets the consensus color of all layers in the symbol (excluding those that are color-locked).
Gets or sets the reference properties for this symbol.
Gets the symbol layers of the multilayer symbol.
|.NET Standard 2.0||100.3 - 100.14|
|.NET 6.0||100.13 - 100.14|
|.NET 6.0 Windows||100.13 - 100.14|
|.NET Framework||100.2.1 - 100.14|
|.NET 5||100.10 - 100.12|
|.NET Core 3.1||100.7 - 100.12|
|Xamarin.Android||100.2.1 - 100.14|
|Xamarin.iOS||100.2.1 - 100.14|
|UWP||100.2.1 - 100.14|