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 # ?
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 # ?
public void NotificarCambio(string Propiedad)
{
if (PropertyChanged != null) {
PropertyChanged(this, new PropertyChangedEventArgs(Propiedad));
}
}