Exemplo n.º 1
0
 static void VisualStateGroupsPropertyChanging(BindableObject bindable, object oldValue, object newValue)
 {
     if (oldValueContext.TryGetValue(bindable, out _))
     {
         oldValueContext.Remove(bindable);
     }
     oldValueContext.Add(bindable, bindable.GetContext(VisualStateGroupsProperty));
 }