Home > DeveloperSection > Forums > ladybirdjohnson@rediffmail.com
Kate Smith
Kate Smith

Total Post:24

Posted on    July-18-2013 2:12 AM


 1 Reply(s)
 938  View(s)
Rate this:
HI Experts!

Right now if I click Button A, Button B shows a DropShadow effect:

 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

If I clicked Button C how would I remove the DropShadow effect from Button B ?

shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Posted on    July-18-2013 2:48 AM


You can Try it below code:-

Me.ButtonB.Effect = null

Don't want to miss updates? Please click the below button!

Follow MindStick