/// <summary> /// When context is changed /// </summary> public override void OnContextChanged() { if (EditingContext == null) { return; } Value = (DateTime)Convert.ChangeType(EditingContext.GetValue(), typeof(DateTime)); }
/// <summary> /// When context is changed /// </summary> public override void OnContextChanged() { if (EditingContext == null) { return; } Value = (Color)EditingContext.GetValue(); }
/// <summary> /// When context is changed /// </summary> public override void OnContextChanged() { if (EditingContext == null) { return; } Value = EditingContext.GetValue().ToString(); }