现在,如果我单击按钮 A,按钮 B 会显示 DropShadow 效果:
Private Sub ButtonA_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles ButtonA.Click
Dim objDropShadow As New DropShadowEffect
objDropShadow.ShadowDepth = 0
objDropShadow.BlurRadius = 30
objDropShadow.Color = Colors.GreenYellow
Me.ButtonB.Effect = objDropShadow
End Sub
如果我单击 Button C 如何从 Button B 中删除 DropShadow 效果?