SharpMap.Rendering.Thematics.CustomTheme.GetStyle C# (CSharp) Method

GetStyle() public method

Returns the color based on an attribute value
public GetStyle ( SharpMap row ) : SharpMap.Styles.IStyle
row SharpMap DataRow
return SharpMap.Styles.IStyle
        public SharpMap.Styles.IStyle GetStyle(SharpMap.Data.FeatureDataRow row)
        {
            SharpMap.Styles.IStyle style = _getStyleDelegate(row);
            if (style != null)
                return style;
            else
                return _DefaultStyle;
        }