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