public static bool IsStyleSet(BindableObject element) { return(ViewEffect.GetBorderColor(element) != Color.Default || ViewEffect.GetBorderWidth(element) != default || ViewEffect.GetCornerRadius(element) != default || ViewEffect.GetShadowColor(element) != Color.Default || ViewEffect.GetShadowOffsetX(element) != default || ViewEffect.GetShadowOffsetY(element) != default || ViewEffect.GetShadowOpacity(element) != default || ViewEffect.GetShadowRadius(element) != default); }
public static bool IsTapFeedbackColorSet(BindableObject element) { return(ViewEffect.GetTouchFeedbackColor(element) != Color.Default); }