Class SymbolStyle
A symbol style object.
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class SymbolStyle
Remarks
A SymbolStyle is created either from a style file on disk (an SQLite database with a .stylx extension, created with ArcGIS Pro) or from a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style).
When used by itself, the symbol style supports two key workflows. One is to return a symbol based on a provided set of key values. Since each symbol in the style has a key that uniquely identifies it, you can pass an array of keys into GetSymbolAsync(IEnumerable<String>) to return a new Symbol built from the individual symbols represented by those keys. You might use this symbol to create a new Graphic.
The other common workflow is to use a standalone symbol style to search for symbol
primitives. Symbol primitives are the individual symbols that compose more complex symbols.
This is achieved using
Search
Properties
Name | Description |
---|---|
Portal | Gets the Portal that hosts the web style identified with Portal. This will be |
Portal |
Gets the Portal |
Style |
Gets the file location of the .stylx file on disk. This will be empty if the style was hosted on a portal (also referred to as a web style). |
Style |
Gets the name of the web style. This will be empty if the web style was identified with a Uri or a PortalItem or a local .stylx file on disk. |
Uri | Gets the Uri of the web symbol style item. This will be |
Methods
Name | Description |
---|---|
Get |
Returns a Style Symbol Search Parameters object providing the default search parameters from the database. |
GetSymbolAsync(IEnumerable<String>) | Asynchronously returns a symbol based on the provided list of keys. |
Open |
Opens a new Symbol |
Open |
Opens a Symbol |
Open |
Opens a new Symbol |
Open |
Opens a new Symbol |
Search |
Returns a collection of Symbol |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |