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