Private Sub btnShowDialog_Click(sender As Object, e As RoutedEventArgs)
Dim objModal As New WinModalDialog()
objModal.Owner = Me
ApplyEffect(Me)
objModal.ShowDialog()
ClearEffect(Me)
End Sub
Private Sub ApplyEffect(win As Window)
Dim objBlur As New System.Windows.Media.Effects.BlurEffect()
objBlur.Radius = 4
win.Effect = objBlur
End Sub
Using the conversion tool here:
http://www.developerfusion.com/tools/convert/csharp-to-vb/[
^]
I guess you have the source code from here:
Make parent window blured for better focus on UI , in WPF[
^]
So, you will need to convert the whole project to VB.NET. If your intellisense does not recognize the class "WinModalDialog", you will need to convert that to VB.NET too.