/// <summary> /// Force the visualiser to update its value (i.e. display the value that is stored). /// </summary> public override void Read() { object obj = SynchronisationHandler.SynchroniseGet <object>(Registry, Key); if (Converter == null && obj != null) { Converter = TypeDescriptor.GetConverter(obj.GetType()); } if (obj != null) { CurrentValue = obj; Text = obj.ToString(); } }
/// <summary> /// Force the visualiser to update its value (i.e. display the value that is stored). /// </summary> public override void Read() { IsChecked = SynchronisationHandler.SynchroniseGet <bool>(Registry, Key); }