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