Class KmlStyle
Specifies the drawing style for a KmlNode.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlStyle : INotifyPropertyChanged
Remarks
Controls the drawing style for the icon, line, polygon, and/or label of a KmlNode. A style is made up several sub-styles including a KmlIconStyle, a KmlLineStyle, a KmlPolygonStyle, and/or a KmlLabelStyle.
Not all node types support styling. For example, a KmlTour node cannot be stylized.
Constructors
Name | Description |
---|---|
KmlStyle() | Initializes a new instance of the KmlStyle class. |
Properties
Name | Description |
---|---|
IconStyle | Gets or sets the style that specifies how point KmlPlacemarks are drawn. |
LabelStyle | Gets or sets the style that specifies how KmlPlacemark labels are drawn. |
LineStyle | Gets or sets the style that specifies how lines are drawn. |
PolygonStyle | Gets or sets the style that specifies how polygons are drawn. |
Events
Name | Description |
---|---|
PropertyChanged |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.