using ReactiveUI; namespace SPT.Launcher.Models { public class ImageHelper : ReactiveObject { private string _Path; public string Path { get => _Path; set => this.RaiseAndSetIfChanged(ref _Path, value); } /// /// Force property changed by touching the image path. /// /// Can be used to force image re-loading public void Touch() { string tmp = Path; Path = ""; Path = tmp; } } }