Show / Hide Table of Contents

    Class CustomTheme

    The CustomTheme class is used for defining your own thematic rendering by using a custom get-style-delegate.

    Inheritance
    System.Object
    Style
    CustomTheme
    Implements
    IThemeStyle
    IStyle
    Inherited Members
    Style.MinVisible
    Style.MaxVisible
    Style.Enabled
    Style.Opacity
    Style.Equals(Object)
    Style.Equals(Style)
    Style.GetHashCode()
    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 Source

    CustomTheme(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 Source

    DefaultStyle

    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
    | Improve this Doc View Source

    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
    CustomTheme.GetStyleMethod

    Methods

    | Improve this Doc View Source

    GetStyle(IFeature)

    Declaration
    public IStyle GetStyle(IFeature row)
    Parameters
    Type Name Description
    IFeature row
    Returns
    Type Description
    IStyle

    Implements

    IThemeStyle
    IStyle
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX