public TagButtonVM() { Tag = new TagVM(); Toggle = new Command(() => App.Current.EventsBroker.Publish(new TagClickedEvent { ButtonVM = this })); }
public override bool Equals(object obj) { TagVM tag = obj as TagVM; if (tag == null) { return(false); } return(Model.Equals(tag.Model)); }