diff --git a/MapControl/Shared/WmsImageLayer.cs b/MapControl/Shared/WmsImageLayer.cs index 918bb8e2..bf6be1d1 100644 --- a/MapControl/Shared/WmsImageLayer.cs +++ b/MapControl/Shared/WmsImageLayer.cs @@ -84,7 +84,7 @@ namespace MapControl /// /// Comma-separated sequence of requested styles. Default is an empty string. /// - public new string Styles + public string Styles { get => (string)GetValue(StylesProperty); set => SetValue(StylesProperty, value);