LADYBIRDJOHNSON@REDIFFMAIL.COM

Kate Smith

Total Post:24

Points:168
Posted by  Kate Smith
WPF 
WPF
 978  View(s)
Ratings:
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 ?

  1. shreesh chandra shukla

    Post:105

    Points:735
    WPF Remove DropShadow Effect

    Solution!

    You can Try it below code:-

    Me.ButtonB.Effect = null

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!