nails with WPF in c #

0
Public Sub NotificarCambio(ByVal Propiedad As String)
    RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(Propiedad))
End Sub

This is in Visual Basic How would it be in c # ?

    
asked by Sebaztian Lornzo 25.05.2017 в 02:00
source

2 answers

2
public void NotificarCambio(string Propiedad)
{
    if (PropertyChanged != null) {
        PropertyChanged(this, new PropertyChangedEventArgs(Propiedad));
    }

}
    
answered by 25.05.2017 в 03:53
1

@gerry, it's very useful for me this page can convert me from vb to ac # or vice versa this is the link I hope you serve:

converter.telerik.com

public void NotificarCambio(string Propiedad)
{
    if (PropertyChanged != null) {
        PropertyChanged(this, new PropertyChangedEventArgs(Propiedad));
    }
}
    
answered by 03.06.2017 в 15:44