Class CustomTheme
The CustomTheme class is used for defining your own thematic rendering by using a custom get-style-delegate.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Styles.Thematics
Assembly: Mapsui.dll
Syntax
public class CustomTheme : Style, IThemeStyle, IStyle
Constructors
| Improve this Doc View SourceCustomTheme(CustomTheme.GetStyleMethod)
Initializes a new instance of the CustomTheme class
Declaration
public CustomTheme(CustomTheme.GetStyleMethod getStyleMethod)
Parameters
Type | Name | Description |
---|---|---|
CustomTheme.GetStyleMethod | getStyleMethod |
Properties
| Improve this Doc View SourceDefaultStyle
Gets or sets the default style when an attribute isn't found in any bucket
Declaration
public IStyle DefaultStyle { get; set; }
Property Value
Type | Description |
---|---|
IStyle |
StyleDelegate
Gets or sets the style delegate used for determining the style of a feature
Declaration
public CustomTheme.GetStyleMethod StyleDelegate { get; set; }
Property Value
Type | Description |
---|---|
CustomTheme.GetStyleMethod |
See Also
Methods
| Improve this Doc View SourceGetStyle(IFeature)
Declaration
public IStyle GetStyle(IFeature row)
Parameters
Type | Name | Description |
---|---|---|
IFeature | row |
Returns
Type | Description |
---|---|
IStyle |