Class SharedTemplate
Describes features that can be created across layers within a geodatabase.
Implements
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SharedTemplate : ILoadable
Remarks
Specifies default attributes, symbology, tools, and settings for geometry construction and transformation.
Properties
| Name | Description |
|---|---|
| Definition | Gets a value that defines how the primary, related, part, or preset features are created. |
| Description | Gets the additional information about this template. |
| IsVisible | Gets a value indicating whether this template can be shown in a template picker. |
| LayerIds | Gets a collection of IDs that identify the layers where this template can be used. |
| LoadError | Gets the exception associated with a failed load. This property remains |
| LoadStatus | Gets the current load status. |
| Name | Gets the name assigned to this template. |
| Tags | Gets the collection of tags for organizing and searching this template. |
| TemplateId | Gets a system-generated unique identifier. |
| TemplateSource | Gets the ISharedTemplateSource from which this template was queried. |
| Type | Gets the type of the shared template. |
Methods
| Name | Description |
|---|---|
| CancelLoad() | Cancel the previous load operation. |
| CreateSwatchAsync(long, CancellationToken) | Creates a swatch image with the template's thumbnail or symbology from the specified layer. |
| GetConstructionToolOptions(GeometryConstructionTool) | Returns the configuration setting for the specified geometry construction tool. |
| GetDefaultConstructionTool(long) | Returns the template's construction tool or a determined default. |
| GetFields(long) | The collection of Field objects for features created with this template. |
| IsToolApplicable(GeometryConstructionToolType, long) | Determines whether the specified construction tool is applicable for the specified layer. |
| LoadAsync() | Asynchronously initiates loading of this shared template. |
| RetryLoadAsync() | Asynchronously retries loading of this shared template. |
Events
| Name | Description |
|---|---|
| LoadStatusChanged | Occurs when the shared template LoadStatus is changed. |
| Loaded | Occurs when the shared template is loaded. |
Applies to
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |