internal Color GetBackGradientEndColor(Style style, StyleInstance styleInstance, bool hasScope)
 {
     if (style != null && (!MappingHelper.IsPropertyExpression(style.BackgroundGradientEndColor) || hasScope))
     {
         return(MappingHelper.GetStyleBackGradientEndColor(style, styleInstance));
     }
     return(Color.Empty);
 }