Exemple #1
0
 public GradientType GetGradientType(Style style, StyleInstance styleInstance, bool hasScope)
 {
     if (style != null && (!MappingHelper.IsPropertyExpression(style.BackgroundGradientType) || hasScope))
     {
         return(MapMapper.GetGradientType(style, styleInstance));
     }
     return(GradientType.None);
 }