示例#1
0
 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);
 }
示例#2
0
 public static bool IsTapFeedbackColorSet(BindableObject element)
 {
     return(ViewEffect.GetTouchFeedbackColor(element) != Color.Default);
 }