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