Esempio n. 1
0
 static GradientView()
 {
     StyleSheets.RegisterStyle("background", typeof(GradientView), nameof(GradientSourceProperty));
 }
 static GradientView()
 {
     StyleSheets.RegisterStyle("background", typeof(GradientView), nameof(GradientSourceProperty));
     StyleSheets.RegisterStyle("background-size", typeof(GradientView), nameof(GradientSizeProperty));
     StyleSheets.RegisterStyle("background-repeat", typeof(GradientView), nameof(GradientRepeatProperty));
 }