-
Notifications
You must be signed in to change notification settings - Fork 593
Closed
Labels
Description
Platform
- .NET HTML
- .NET WPF
Description
FontStyle was renamed to FontType, but an older deprecation warning wasn't updated to reflect this:
AdaptiveCards/source/dotnet/Library/AdaptiveCards/Rendering/AdaptiveHostConfig.cs
Lines 29 to 39 in 1617263
| [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] | |
| [Obsolete("AdaptiveHostConfig.FontFamily has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontFamily", false)] | |
| public string FontFamily { get; set; } | |
| [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] | |
| [Obsolete("AdaptiveHostConfig.FontSizes has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontSizes", false)] | |
| public FontSizesConfig FontSizes { get; set; } = new FontSizesConfig(); | |
| [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] | |
| [Obsolete("AdaptiveHostConfig.FontWeights has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontWeights", false)] | |
| public FontWeightsConfig FontWeights { get; set; } = new FontWeightsConfig(); |