From fa7a5e5fa9655e5e93de7b0e4a05520507b7d0e9 Mon Sep 17 00:00:00 2001 From: Stephane Delcroix Date: Thu, 4 Oct 2018 15:42:38 +0200 Subject: [PATCH] [C] add CSS mapping for max-lines (#3991) - fixes #3982 --- Xamarin.Forms.Core/Properties/AssemblyInfo.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Xamarin.Forms.Core/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core/Properties/AssemblyInfo.cs index 828de243a..d12c5db67 100644 --- a/Xamarin.Forms.Core/Properties/AssemblyInfo.cs +++ b/Xamarin.Forms.Core/Properties/AssemblyInfo.cs @@ -59,6 +59,7 @@ using Xamarin.Forms.StyleSheets; [assembly: StyleProperty("margin-top", typeof(View), nameof(View.MarginTopProperty))] [assembly: StyleProperty("margin-right", typeof(View), nameof(View.MarginRightProperty))] [assembly: StyleProperty("margin-bottom", typeof(View), nameof(View.MarginBottomProperty))] +[assembly: StyleProperty("max-lines", typeof(Label), nameof(Label.MaxLinesProperty))] [assembly: StyleProperty("min-height", typeof(VisualElement), nameof(VisualElement.MinimumHeightRequestProperty))] [assembly: StyleProperty("min-width", typeof(VisualElement), nameof(VisualElement.MinimumWidthRequestProperty))] [assembly: StyleProperty("opacity", typeof(VisualElement), nameof(VisualElement.OpacityProperty))]