Exemplo n.º 1
0
 public void RisePropChange()
 {
     PropChanged?.Invoke(this, EventArgs.Empty);
 }
Exemplo n.º 2
0
 public void UpdateBody(string body)
 {
     BodyText = body;
     PropChanged?.Invoke(this, new PropertyChangedEventArgs("BodyText"));
 }
Exemplo n.º 3
0
 public void Refresh()
 {
     PropChanged?.Invoke(this, new PropertyChangedEventArgs("Refresh"));
 }
 protected void OnPropChanged([CallerMemberName] string name = "") => PropChanged?.Invoke(this, new PropertyChangedEventArgs(name));
Exemplo n.º 5
0
 /// <summary>
 /// Trigger event TriggerChanged
 /// </summary>
 private void OnPropChanged()
 {
     PropChanged?.Invoke(this, EventArgs.Empty);
 }
Exemplo n.º 6
0
 protected virtual void OnPropChanged()
 {
     PropChanged?.Invoke(this, EventArgs.Empty);
 }