示例#1
0
 private void UpdateVisualEffect()
 {
     switch (Helper.Tier)
     {
     case 1:
     case 2:
         AnimationHelper.SetSlideInFromBottom(GrpPalette, true);
         RectBackground.Fill = FindResource("GridBrush") as Brush;
         ExpanderHelper.SetShadowColor(GrpPalette, Colors.LightGray);
         ExpanderHelper.SetShadowColor(GrpCode, Colors.LightGray);
         break;
     }
 }
示例#2
0
 private void ChbShowShadow_CheckChanged(object sender, RoutedEventArgs e)
 {
     ExpanderHelper.SetShadowColor(EpdCustom, ChbShowShadow.IsChecked == true ? Colors.LightGray : (Color?)null);
 }