using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Torch.Server.ViewModels.Entities { public class EntityControlViewModel : ViewModel { internal const string SignalPropertyInvalidateControl = "InvalidateControl-4124a476-704f-4762-8b5e-336a18e2f7e5"; internal void InvalidateControl() { // ReSharper disable once ExplicitCallerInfoArgument OnPropertyChanged(SignalPropertyInvalidateControl); } private bool _hide; /// /// Should this element be forced into the /// public bool Hide { get => _hide; protected set { if (_hide == value) return; _hide = value; OnPropertyChanged(); } } } }